@@ -117,7 +117,6 @@ discard block |
||
117 | 117 | /** |
118 | 118 | * Transform an Eloquent builder. |
119 | 119 | * |
120 | - * @param Builder $collection |
|
121 | 120 | * @param Transformer|null $transformer |
122 | 121 | * @return FractalCollection |
123 | 122 | */ |
@@ -145,7 +144,7 @@ discard block |
||
145 | 144 | * Transform the data using the given transformer. |
146 | 145 | * |
147 | 146 | * @param Transformable|Collection $data |
148 | - * @param Transformer|null $transformer |
|
147 | + * @param Transformer $transformer |
|
149 | 148 | * @param string $resourceKey |
150 | 149 | * @return ResourceInterface |
151 | 150 | */ |
@@ -108,7 +108,7 @@ |
||
108 | 108 | /** |
109 | 109 | * Get the services provided by the provider. |
110 | 110 | * |
111 | - * @return array |
|
111 | + * @return string[] |
|
112 | 112 | */ |
113 | 113 | public function provides() |
114 | 114 | { |