Completed
Pull Request — master (#3396)
by Edwin
04:02
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/Widgets/Carousel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * Carousel constructor.
26 26
      *
27
-     * @param array $items
27
+     * @param \Illuminate\Support\Collection $items
28 28
      */
29 29
     public function __construct($items = [])
30 30
     {
Please login to merge, or discard this patch.
src/Grid/Displayers/Carousel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             return '';
21 21
         }
22 22
 
23
-        $images = collect((array) $this->value)->filter()->map(function ($path) use ($server) {
23
+        $images = collect((array) $this->value)->filter()->map(function($path) use ($server) {
24 24
             if (url()->isValidUrl($path) || strpos($path, 'data:image') === 0) {
25 25
                 $image = $path;
26 26
             } elseif ($server) {
Please login to merge, or discard this patch.