@@ -123,12 +123,12 @@ |
||
| 123 | 123 | /** |
| 124 | 124 | * Return the url of a resource based on the 'get_entity' route name convention. |
| 125 | 125 | * |
| 126 | - * @param $name |
|
| 126 | + * @param string $name |
|
| 127 | 127 | * @param $limit |
| 128 | 128 | * @param $page |
| 129 | 129 | * @param $sorting |
| 130 | 130 | * |
| 131 | - * @return mixed |
|
| 131 | + * @return string |
|
| 132 | 132 | */ |
| 133 | 133 | private function getPaginatedRoute($name, $limit, $page, $sorting) |
| 134 | 134 | { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * Get the url of an entity based on the 'get_entity' route pattern. |
| 75 | 75 | * |
| 76 | 76 | * @param $resource |
| 77 | - * @param $reflectionClass |
|
| 77 | + * @param \ReflectionClass $reflectionClass |
|
| 78 | 78 | * |
| 79 | 79 | * @return array|void |
| 80 | 80 | */ |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | /** |
| 100 | 100 | * Get the links of a collection. |
| 101 | 101 | * |
| 102 | - * @param $property |
|
| 102 | + * @param \ReflectionProperty $property |
|
| 103 | 103 | * @param $relationContent |
| 104 | 104 | * |
| 105 | 105 | * @return array|void |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | { |
| 40 | 40 | $this->serializerBuilder |
| 41 | 41 | ->addDefaultListeners() |
| 42 | - ->configureListeners(function (EventDispatcherInterface $dispatcher) { |
|
| 42 | + ->configureListeners(function(EventDispatcherInterface $dispatcher) { |
|
| 43 | 43 | $dispatcher->addSubscriber(new JsonEventSubscriber($this->relationFactory)); |
| 44 | 44 | }) |
| 45 | 45 | ; |