Passed
Push — master ( 53eead...218820 )
by Tom
03:04
created
src/AbstractRestfulController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@
 block discarded – undo
319 319
      * Redirects to the show route for the model if one exists.
320 320
      * @param Request $request
321 321
      * @param mixed $data
322
-     * @return RedirectResponse|Redirector|null
322
+     * @return null|RedirectResponse
323 323
      */
324 324
     protected function redirectToShowRoute(Request $request, $data)
325 325
     {
Please login to merge, or discard this patch.
src/Traits/HasLinksTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Append attributes to query when building a query.
24 24
      *
25
-     * @param string[]|string $attributes
25
+     * @param string $attributes
26 26
      * @return $this
27 27
      */
28 28
     abstract public function append($attributes);
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Get the value of the model's route key.
142 142
      *
143
-     * @return mixed
143
+     * @return string
144 144
      */
145 145
     public function getRouteKey()
146 146
     {
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@
 block discarded – undo
324 324
 
325 325
         return $instance->newCollection(
326 326
             array_map(
327
-                function ($item) use ($instance) {
327
+                function($item) use ($instance) {
328 328
                     return $instance->newFromBuilder($item);
329 329
                 },
330 330
                 $data
Please login to merge, or discard this patch.