Completed
Pull Request — master (#4696)
by
unknown
03:04
created
src/Form/Field/PlainInput.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     protected $append;
16 16
 
17 17
     /**
18
-     * @param $string
18
+     * @param string $string
19 19
      * @return $this
20 20
      */
21 21
     public function prepend($string)
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @param $string
31
+     * @param string $string
32 32
      * @return $this
33 33
      */
34 34
     public function append($string)
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
         }
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $attribute
52
+     */
50 53
     protected function defaultAttribute($attribute, $value)
51 54
     {
52 55
         if (!array_key_exists($attribute, $this->attributes)) {
Please login to merge, or discard this patch.
src/Form/Field/Textarea.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,6 @@
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @param string $wrap
93 92
      */
94 93
     public function addPickBtn($btn)
95 94
     {
Please login to merge, or discard this patch.
src/Form/Field/HasValuePicker.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View|string
68
+     * @return string|null
69 69
      */
70 70
     protected function renderFilePicker()
71 71
     {
@@ -89,7 +89,6 @@  discard block
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @param string $wrap
93 92
      */
94 93
     public function addPickBtn($btn)
95 94
     {
Please login to merge, or discard this patch.
src/Form/Field/ValuePicker.php 1 patch
Doc Comments   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,8 +116,4 @@
 block discarded – undo
116 116
             return [
117 117
                 'url'     => $this->field->objectUrl($item),
118 118
                 'value'   => $item,
119
-                'is_file' => $field == File::class,
120
-            ];
121
-        });
122
-    }
123
-}
119
+                'is_file' => $field
124 120
\ No newline at end of file
Please login to merge, or discard this patch.
src/Grid/Selectable.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,6 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @param bool $multiple
71 70
      *
72 71
      * @return string
73 72
      */
Please login to merge, or discard this patch.
src/Traits/HasAssets.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@
 block discarded – undo
315 315
     }
316 316
 
317 317
     /**
318
-     * @param $component
318
+     * @param string $component
319 319
      */
320 320
     public static function component($component, $data = [])
321 321
     {
Please login to merge, or discard this patch.