@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
| 26 | 26 | * @param Request $request |
| 27 | 27 | * |
| 28 | - * @return array |
|
| 28 | + * @return Response |
|
| 29 | 29 | */ |
| 30 | 30 | public function foobarAction(Request $request) |
| 31 | 31 | { |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | class FooBundle extends Bundle |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @return ExtensionInterface |
|
| 23 | + * @return boolean |
|
| 24 | 24 | */ |
| 25 | 25 | public function getContainerExtension() |
| 26 | 26 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | $this->eventMock |
| 67 | 67 | ->expects($this->once()) |
| 68 | 68 | ->method('setResponse') |
| 69 | - ->with($this->callback(function (Response $response) { |
|
| 69 | + ->with($this->callback(function(Response $response) { |
|
| 70 | 70 | return $response->getStatusCode() === Response::HTTP_NOT_MODIFIED; |
| 71 | 71 | })); |
| 72 | 72 | |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | $this->eventMock |
| 117 | 117 | ->expects($this->once()) |
| 118 | 118 | ->method('setResponse') |
| 119 | - ->with($this->callback(function (Response $response) { |
|
| 119 | + ->with($this->callback(function(Response $response) { |
|
| 120 | 120 | return $response->getStatusCode() === Response::HTTP_PRECONDITION_REQUIRED; |
| 121 | 121 | })); |
| 122 | 122 | |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | $this->eventMock |
| 137 | 137 | ->expects($this->once()) |
| 138 | 138 | ->method('setResponse') |
| 139 | - ->with($this->callback(function (Response $response) { |
|
| 139 | + ->with($this->callback(function(Response $response) { |
|
| 140 | 140 | return $response->getStatusCode() === Response::HTTP_PRECONDITION_FAILED; |
| 141 | 141 | })); |
| 142 | 142 | |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | /** |
| 7 | 7 | * @var ClassLoader $loader |
| 8 | 8 | */ |
| 9 | -$loader = require __DIR__.'/../../../../../vendor/autoload.php'; |
|
| 9 | +$loader = require __DIR__ . '/../../../../../vendor/autoload.php'; |
|
| 10 | 10 | |
| 11 | 11 | AnnotationRegistry::registerLoader(array($loader, 'loadClass')); |
| 12 | 12 | |