Skip to content

Commit 7103b90

Browse files
committed
Fix CS error
1 parent 049f583 commit 7103b90

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/AbstractCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ abstract class AbstractCollection extends ObjectRegistry
4141
*/
4242
public function __construct(array $config = [])
4343
{
44-
$configOptions = array_filter($config, fn ($key) => is_string($key), ARRAY_FILTER_USE_KEY);
44+
$configOptions = array_filter($config, fn($key) => is_string($key), ARRAY_FILTER_USE_KEY);
4545
$this->setConfig($configOptions);
4646

4747
foreach ($config as $key => $value) {

src/Authenticator/CookieAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function authenticate(ServerRequestInterface $request): ResultInterface
126126
* @param \ArrayAccess<string, mixed>|array<string, mixed> $identity Identity data.
127127
* @return array{request: \Psr\Http\Message\ServerRequestInterface, response: \Psr\Http\Message\ResponseInterface}
128128
*/
129-
public function persistIdentity(ServerRequestInterface $request, ResponseInterface $response, $identity): array
129+
public function persistIdentity(ServerRequestInterface $request, ResponseInterface $response, ArrayAccess|array $identity): array
130130
{
131131
$field = $this->getConfig('rememberMeField');
132132
$bodyData = $request->getParsedBody();

src/Authenticator/SessionAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function authenticate(ServerRequestInterface $request): ResultInterface
7171
* @param \ArrayAccess<string, mixed>|array<string, mixed> $identity Identity data to persist.
7272
* @return array{request: \Psr\Http\Message\ServerRequestInterface, response: \Psr\Http\Message\ResponseInterface}
7373
*/
74-
public function persistIdentity(ServerRequestInterface $request, ResponseInterface $response, $identity): array
74+
public function persistIdentity(ServerRequestInterface $request, ResponseInterface $response, ArrayAccess|array $identity): array
7575
{
7676
$sessionKey = $this->getConfig('sessionKey');
7777
/** @var \Cake\Http\Session $session */

0 commit comments

Comments
 (0)