@@ -171,7 +171,7 @@ |
||
| 171 | 171 | /** |
| 172 | 172 | * Exclude relations from the transform. |
| 173 | 173 | * |
| 174 | - * @param string[]|string $relations |
|
| 174 | + * @param string[] $relations |
|
| 175 | 175 | * @return $this |
| 176 | 176 | */ |
| 177 | 177 | public function without($relations) |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * Resolve a transformer from the transformable element. |
| 112 | 112 | * |
| 113 | 113 | * @param mixed $transformable |
| 114 | - * @return \Flugg\Responder\Contracts\Transformable|callable |
|
| 114 | + * @return callable |
|
| 115 | 115 | */ |
| 116 | 116 | protected function resolveTransformer($transformable) |
| 117 | 117 | { |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | /** |
| 130 | 130 | * Resolve a fallback closure transformer just returning the data directly. |
| 131 | 131 | * |
| 132 | - * @return callable |
|
| 132 | + * @return \Closure |
|
| 133 | 133 | */ |
| 134 | 134 | protected function resolveFallbackTransformer() |
| 135 | 135 | { |