@@ -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 | { |
@@ -26,6 +26,9 @@ discard block |
||
26 | 26 | } |
27 | 27 | } |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $content |
|
31 | + */ |
|
29 | 32 | public function content($content) |
30 | 33 | { |
31 | 34 | if ($content instanceof Renderable) { |
@@ -37,6 +40,9 @@ discard block |
||
37 | 40 | return $this; |
38 | 41 | } |
39 | 42 | |
43 | + /** |
|
44 | + * @param string $title |
|
45 | + */ |
|
40 | 46 | public function title($title) |
41 | 47 | { |
42 | 48 | $this->attributes['title'] = $title; |
@@ -58,6 +64,9 @@ discard block |
||
58 | 64 | return $this; |
59 | 65 | } |
60 | 66 | |
67 | + /** |
|
68 | + * @param string $styles |
|
69 | + */ |
|
61 | 70 | public function style($styles) |
62 | 71 | { |
63 | 72 | if (is_string($styles)) { |