File tree Expand file tree Collapse file tree
tests/Unit/Event/Subscriber Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function setFingerprintCookie(string $fingerprint): void
4141
4242 public function getFingerprintCookie (): string
4343 {
44- if (!key_exists (FingerprintServiceInterface::COOKIE_KEY , $ _COOKIE )) {
44+ if (!array_key_exists (FingerprintServiceInterface::COOKIE_KEY , $ _COOKIE )) {
4545 throw new FingerprintMissingException ("Fingerprint missing " );
4646 }
4747
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function testSubscriberWithMultipleUserModelsPwdChange(): void
6868 $ refreshTokenRepository = $ this ->createMock (RefreshTokenRepositoryInterface::class);
6969 $ refreshTokenRepository ->expects ($ this ->exactly (2 ))
7070 ->method ('invalidateUserTokens ' )
71- ->willReturnCallback (function ($ userId ) use (&$ methodArgs ) {
71+ ->willReturnCallback (function ($ userId ) use (&$ methodArgs ): void {
7272 $ methodArgs [] = $ userId ;
7373 });
7474
You can’t perform that action at this time.
0 commit comments