@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | /** |
| 159 | 159 | * Include relations to the transform. |
| 160 | 160 | * |
| 161 | - * @param string[]|string $relations |
|
| 161 | + * @param string[] $relations |
|
| 162 | 162 | * @return self |
| 163 | 163 | */ |
| 164 | 164 | public function with($relations): TransformBuilder |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | /** |
| 172 | 172 | * Exclude relations from the transform. |
| 173 | 173 | * |
| 174 | - * @param string[]|string $relations |
|
| 174 | + * @param string[] $relations |
|
| 175 | 175 | * @return self |
| 176 | 176 | */ |
| 177 | 177 | public function without($relations): TransformBuilder |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | /** |
| 198 | 198 | * Set the serializer. |
| 199 | 199 | * |
| 200 | - * @param \League\Fractal\Serializer\SerializerAbstract|string $serializer |
|
| 200 | + * @param Serializers\NullSerializer $serializer |
|
| 201 | 201 | * @return self |
| 202 | 202 | * @throws \Flugg\Responder\Exceptions\InvalidSerializerException |
| 203 | 203 | */ |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | /** |
| 130 | 130 | * Make a simple closure transformer. |
| 131 | 131 | * |
| 132 | - * @return callable |
|
| 132 | + * @return \Closure |
|
| 133 | 133 | */ |
| 134 | 134 | protected function makeClosureTransformer(): callable |
| 135 | 135 | { |