@@ -61,7 +61,7 @@ |
||
61 | 61 | protected function getUrlFromRequest(UriInterface $uri): string |
62 | 62 | { |
63 | 63 | if ($this->checkFullUrl) { |
64 | - return (string)$uri; |
|
64 | + return (string) $uri; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | return $uri->getPath(); |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | { |
50 | 50 | $requestUrl = $this->getUrlFromRequest($request->getUri()); |
51 | 51 | |
52 | - return (bool)preg_match($regex, $requestUrl); |
|
52 | + return (bool) preg_match($regex, $requestUrl); |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | protected function getUrlFromRequest(UriInterface $uri): string |
62 | 62 | { |
63 | 63 | if ($this->checkFullUrl) { |
64 | - return (string)$uri; |
|
64 | + return (string) $uri; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | return $uri->getPath(); |
@@ -169,7 +169,7 @@ |
||
169 | 169 | protected function setErrorHandler() |
170 | 170 | { |
171 | 171 | set_error_handler( |
172 | - function ($errorNumber, $errorText) { |
|
172 | + function($errorNumber, $errorText) { |
|
173 | 173 | throw new ErrorException($errorText); |
174 | 174 | }, |
175 | 175 | E_ALL |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function testFindDefault(): void |
32 | 32 | { |
33 | - $function = function ($data) { |
|
33 | + $function = function($data) { |
|
34 | 34 | if (isset($data['username']) && $data['username'] === 'mariano') { |
35 | 35 | return new ArrayObject([ |
36 | 36 | 'id' => 1, |
@@ -73,7 +73,7 @@ |
||
73 | 73 | ->method('getAuthenticationService') |
74 | 74 | ->willReturn($service); |
75 | 75 | |
76 | - $requestHandler = $this |
|
76 | + $requestHandler = $this |
|
77 | 77 | ->getMockBuilder(RequestHandlerInterface::class) |
78 | 78 | ->getMock(); |
79 | 79 |