| @@ -197,7 +197,7 @@ | ||
| 197 | 197 |      { | 
| 198 | 198 |          $exception = new ResourceNotReadableException("Failed reading '$uri'"); | 
| 199 | 199 | |
| 200 | -        set_error_handler(function () use ($exception) { | |
| 200 | +        set_error_handler(function() use ($exception) { | |
| 201 | 201 | throw $exception; | 
| 202 | 202 | }); | 
| 203 | 203 | $response = file_get_contents($uri); | 
| @@ -40,7 +40,7 @@ discard block | ||
| 40 | 40 | /** | 
| 41 | 41 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) | 
| 42 | 42 | * | 
| 43 | - * @param mixed $resource | |
| 43 | + * @param string $resource | |
| 44 | 44 | * @param null $type | 
| 45 | 45 | * | 
| 46 | 46 | * @return RouteCollection | 
| @@ -125,7 +125,7 @@ discard block | ||
| 125 | 125 | /** | 
| 126 | 126 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) | 
| 127 | 127 | * | 
| 128 | - * @param mixed $resource | |
| 128 | + * @param string $resource | |
| 129 | 129 | * @param string $type | 
| 130 | 130 | * | 
| 131 | 131 | * @return bool | 
| @@ -17,7 +17,7 @@ | ||
| 17 | 17 | * @param string $username | 
| 18 | 18 | * @param string $password | 
| 19 | 19 | * | 
| 20 | - * @return array | |
| 20 | + * @return string | |
| 21 | 21 | */ | 
| 22 | 22 | public function loginUser($username, $password) | 
| 23 | 23 |      { | 
| @@ -203,7 +203,7 @@ | ||
| 203 | 203 | $logger | 
| 204 | 204 | ->expects($this->once()) | 
| 205 | 205 |                  ->method('log') | 
| 206 | -                ->with($this->anything(), $this->callback(function ($message) use (&$logref) { | |
| 206 | +                ->with($this->anything(), $this->callback(function($message) use (&$logref) { | |
| 207 | 207 | $matches = []; | 
| 208 | 208 |                      if (preg_match('/logref ([a-z0-9]*)/', $message, $matches)) { | 
| 209 | 209 | $logref = $matches[1]; | 
| @@ -50,7 +50,7 @@ | ||
| 50 | 50 |                                  ->scalarNode('base_url')->defaultValue('/')->end() | 
| 51 | 51 |                                  ->scalarNode('host')->defaultNull()->end() | 
| 52 | 52 | ->end() | 
| 53 | - ->end() | |
| 53 | + ->end() | |
| 54 | 54 | ->end() | 
| 55 | 55 | ->end() | 
| 56 | 56 | ->end() |