Completed
Pull Request — master (#3387)
by Edwin
02:58
created
src/Grid/Displayers/Button.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function display($style = null)
8 8
     {
9
-        $style = collect((array) $style)->map(function ($style) {
9
+        $style = collect((array) $style)->map(function($style) {
10 10
             return 'btn-'.$style;
11 11
         })->implode(' ');
12 12
 
Please login to merge, or discard this patch.
src/Form/Field.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
      *
282 282
      * @param string $column
283 283
      *
284
-     * @return mixed|string
284
+     * @return string
285 285
      */
286 286
     protected function formatColumn($column = '')
287 287
     {
@@ -566,7 +566,7 @@  discard block
 block discarded – undo
566 566
     }
567 567
 
568 568
     /**
569
-     * @param string|array|Closure $input
569
+     * @param callable|null $input
570 570
      * @param string|array         $original
571 571
      *
572 572
      * @return array|Closure
@@ -769,7 +769,7 @@  discard block
 block discarded – undo
769 769
     /**
770 770
      * Set or get value of the field.
771 771
      *
772
-     * @param null $value
772
+     * @param string $value
773 773
      *
774 774
      * @return mixed
775 775
      */
@@ -940,7 +940,7 @@  discard block
 block discarded – undo
940 940
     /**
941 941
      * Add html attributes to elements.
942 942
      *
943
-     * @param array|string $attribute
943
+     * @param string $attribute
944 944
      * @param mixed        $value
945 945
      *
946 946
      * @return $this
@@ -1277,7 +1277,7 @@  discard block
 block discarded – undo
1277 1277
     }
1278 1278
 
1279 1279
     /**
1280
-     * @param array $labelClass
1280
+     * @param string[] $labelClass
1281 1281
      *
1282 1282
      * @return self
1283 1283
      */
@@ -1332,7 +1332,7 @@  discard block
 block discarded – undo
1332 1332
      *
1333 1333
      * @param string $view
1334 1334
      *
1335
-     * @return string
1335
+     * @return Field
1336 1336
      */
1337 1337
     public function setView($view)
1338 1338
     {
Please login to merge, or discard this patch.
src/Grid/Displayers/Expand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,6 +64,6 @@
 block discarded – undo
64 64
         .grid-expand:before{content:"\\f0d7";display: inline-block;font: normal normal normal 14px/1 FontAwesome;font-size: inherit;text-rendering: auto;-webkit-font-smoothing: antialiased;}
65 65
         .grid-expand.collapsed:before{content:"\\f0da";}
66 66
 STYLE;
67
-        Admin::style( $style );
67
+        Admin::style($style);
68 68
     }
69 69
 }
Please login to merge, or discard this patch.