@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | /** |
| 165 | 165 | * Specify the includes. |
| 166 | 166 | * |
| 167 | - * @param array|string $includes Array or csv string of resources to include |
|
| 167 | + * @param string $includes Array or csv string of resources to include |
|
| 168 | 168 | * |
| 169 | 169 | * @return $this |
| 170 | 170 | */ |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | /** |
| 191 | - * @return $this|void |
|
| 191 | + * @return Fractal |
|
| 192 | 192 | */ |
| 193 | 193 | public function parseIncludeParams() |
| 194 | 194 | { |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace NavJobs\Transmit; |
| 4 | 4 | |
| 5 | 5 | use League\Fractal\Manager; |
| 6 | -use League\Fractal\ParamBag; |
|
| 7 | 6 | use League\Fractal\Pagination\PaginatorInterface; |
| 7 | +use League\Fractal\ParamBag; |
|
| 8 | 8 | use League\Fractal\Serializer\SerializerAbstract; |
| 9 | 9 | use NavJobs\Transmit\Exceptions\InvalidTransformation; |
| 10 | 10 | use NavJobs\Transmit\Exceptions\NoTransformerSpecified; |