Completed
Pull Request — master (#110)
by
unknown
02:27
created
src/Controllers/MenuController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
      * @param $id
76 76
      *
77
-     * @return $this|\Illuminate\Http\RedirectResponse
77
+     * @return \Symfony\Component\HttpFoundation\Response
78 78
      */
79 79
     public function update($id)
80 80
     {
Please login to merge, or discard this patch.
src/Form.php 1 patch
Doc Comments   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
      *
205 205
      * @param $id
206 206
      *
207
-     * @return mixed
207
+     * @return boolean
208 208
      */
209 209
     public function destroy($id)
210 210
     {
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      * Prepare input data for insert or update.
280 280
      *
281 281
      * @param array    $data
282
-     * @param callable $callback
282
+     * @param Closure $callback
283 283
      */
284 284
     protected function prepare($data = [], Closure $callback = null)
285 285
     {
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
      *
377 377
      * @param int $id
378 378
      *
379
-     * @return $this|\Illuminate\Http\RedirectResponse
379
+     * @return \Symfony\Component\HttpFoundation\Response
380 380
      */
381 381
     public function update($id)
382 382
     {
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
      * @param int   $id
446 446
      * @param array $input
447 447
      *
448
-     * @return array
448
+     * @return boolean
449 449
      */
450 450
     protected function handleOrderable($id, array $input = [])
451 451
     {
@@ -585,7 +585,7 @@  discard block
 block discarded – undo
585 585
     /**
586 586
      * Set saving callback.
587 587
      *
588
-     * @param callable $callback
588
+     * @param Closure $callback
589 589
      *
590 590
      * @return void
591 591
      */
@@ -597,7 +597,7 @@  discard block
 block discarded – undo
597 597
     /**
598 598
      * Set saved callback.
599 599
      *
600
-     * @param callable $callback
600
+     * @param Closure $callback
601 601
      *
602 602
      * @return void
603 603
      */
@@ -853,6 +853,9 @@  discard block
 block discarded – undo
853 853
         }
854 854
     }
855 855
 
856
+    /**
857
+     * @param string $method
858
+     */
856 859
     public static function findFieldClass($method)
857 860
     {
858 861
         $className = __NAMESPACE__.'\\Form\\Field\\'.ucfirst($method);
Please login to merge, or discard this patch.