Passed
Push — v2 ( 1005f4...220fbf )
by Alexander
02:47
created
src/TransformBuilder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Transformers/TransformerResolver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.