@@ -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 | { |