@@ -55,6 +55,9 @@ |
||
| 55 | 55 | return $data; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | + /** |
|
| 59 | + * @return string |
|
| 60 | + */ |
|
| 58 | 61 | public function script() |
| 59 | 62 | { |
| 60 | 63 | $this->data = $this->fillColor($this->data); |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | /** |
| 118 | 118 | * Add form attributes. |
| 119 | 119 | * |
| 120 | - * @param string|array $attr |
|
| 120 | + * @param string $attr |
|
| 121 | 121 | * @param string $value |
| 122 | 122 | * |
| 123 | 123 | * @return $this |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | * |
| 141 | 141 | * @param string $method |
| 142 | 142 | * |
| 143 | - * @return bool|string |
|
| 143 | + * @return string|false |
|
| 144 | 144 | */ |
| 145 | 145 | public static function findFieldClass($method) |
| 146 | 146 | { |
@@ -12,6 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | protected $style = 'danger'; |
| 14 | 14 | |
| 15 | + /** |
|
| 16 | + * @param string $content |
|
| 17 | + */ |
|
| 15 | 18 | public function __construct($content, $title = '', $style = 'danger') |
| 16 | 19 | { |
| 17 | 20 | $this->content = (string) $content; |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | /** |
| 77 | 77 | * @param $file |
| 78 | 78 | * |
| 79 | - * @return mixed |
|
| 79 | + * @return string |
|
| 80 | 80 | */ |
| 81 | 81 | protected function uploadAndDeleteOriginal(UploadedFile $file) |
| 82 | 82 | { |