@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | $mock = $this->authenticationManagerMock; |
62 | 62 | $mock->expects($this->once()) |
63 | 63 | ->method('authenticate') |
64 | - ->with($this->callback(function (JwtAuthenticationToken $token) use ($tokenString) { |
|
64 | + ->with($this->callback(function(JwtAuthenticationToken $token) use ($tokenString) { |
|
65 | 65 | return $token->getCredentials() === $tokenString; |
66 | 66 | })); |
67 | 67 | |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | $mock = $this->authenticationManagerMock; |
84 | 84 | $mock->expects($this->once()) |
85 | 85 | ->method('authenticate') |
86 | - ->with($this->callback(function (JwtAuthenticationToken $token) use ($tokenString) { |
|
86 | + ->with($this->callback(function(JwtAuthenticationToken $token) use ($tokenString) { |
|
87 | 87 | return $token->getCredentials() === $tokenString; |
88 | 88 | })); |
89 | 89 | |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | $mock = $this->authenticationManagerMock; |
105 | 105 | $mock->expects($this->once()) |
106 | 106 | ->method('authenticate') |
107 | - ->with($this->callback(function (JwtAuthenticationToken $token) use ($tokenString) { |
|
107 | + ->with($this->callback(function(JwtAuthenticationToken $token) use ($tokenString) { |
|
108 | 108 | return $token->getCredentials() === $tokenString; |
109 | 109 | })); |
110 | 110 | |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | $mock = $this->authenticationManagerMock; |
145 | 145 | $mock->expects($this->once()) |
146 | 146 | ->method('authenticate') |
147 | - ->willReturnCallback(function () use($authenticatedToken) { |
|
147 | + ->willReturnCallback(function() use($authenticatedToken) { |
|
148 | 148 | return $authenticatedToken; |
149 | 149 | }); |
150 | 150 |