@@ -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 | |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | $mock = $this->authenticationManagerMock; |
83 | 83 | $mock->expects($this->once()) |
84 | 84 | ->method('authenticate') |
85 | - ->with($this->callback(function (JwtAuthenticationToken $token) use ($tokenString) { |
|
85 | + ->with($this->callback(function(JwtAuthenticationToken $token) use ($tokenString) { |
|
86 | 86 | return $token->getCredentials() === $tokenString; |
87 | 87 | })); |
88 | 88 | |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | $mock = $this->authenticationManagerMock; |
104 | 104 | $mock->expects($this->once()) |
105 | 105 | ->method('authenticate') |
106 | - ->with($this->callback(function (JwtAuthenticationToken $token) use ($tokenString) { |
|
106 | + ->with($this->callback(function(JwtAuthenticationToken $token) use ($tokenString) { |
|
107 | 107 | return $token->getCredentials() === $tokenString; |
108 | 108 | })); |
109 | 109 | |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | $mock = $this->authenticationManagerMock; |
144 | 144 | $mock->expects($this->once()) |
145 | 145 | ->method('authenticate') |
146 | - ->willReturnCallback(function () use ($authenticatedToken) { |
|
146 | + ->willReturnCallback(function() use ($authenticatedToken) { |
|
147 | 147 | return $authenticatedToken; |
148 | 148 | }); |
149 | 149 |