Passed
Pull Request — master (#22)
by
unknown
08:04
created
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/AbstractRestfulController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -312,7 +312,7 @@
 block discarded – undo
312 312
      * Redirects to the show route for the model if one exists.
313 313
      * @param Request $request
314 314
      * @param mixed $data
315
-     * @return RedirectResponse|Redirector|null
315
+     * @return RedirectResponse|null
316 316
      */
317 317
     protected function redirectToShowRoute(Request $request, $data)
318 318
     {
Please login to merge, or discard this patch.