@@ -15,7 +15,7 @@ discard block |
||
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 |
||
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 |
||
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)) { |
@@ -89,7 +89,6 @@ |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |
92 | - * @param string $wrap |
|
93 | 92 | */ |
94 | 93 | public function addPickBtn($btn) |
95 | 94 | { |
@@ -65,7 +65,7 @@ discard block |
||
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 |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |
92 | - * @param string $wrap |
|
93 | 92 | */ |
94 | 93 | public function addPickBtn($btn) |
95 | 94 | { |
@@ -116,8 +116,4 @@ |
||
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 |
@@ -67,7 +67,6 @@ |
||
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
70 | - * @param bool $multiple |
|
71 | 70 | * |
72 | 71 | * @return string |
73 | 72 | */ |
@@ -315,7 +315,7 @@ |
||
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 | { |