@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | /** |
145 | 145 | * Set the javascript queueing instance callback |
146 | 146 | * |
147 | - * @param $callable callable |
|
147 | + * @param \Closure $callable callable |
|
148 | 148 | */ |
149 | 149 | public static function setJSResolver($callable) |
150 | 150 | { |
@@ -414,6 +414,9 @@ discard block |
||
414 | 414 | return substr($s, 0, 8) . '_' . substr($s, 8, 4) . '_' . substr($s, 12, 4) . '_' . substr($s, 16, 4); |
415 | 415 | } |
416 | 416 | |
417 | + /** |
|
418 | + * @param string $string |
|
419 | + */ |
|
417 | 420 | public function template($string, array $args = []) |
418 | 421 | { |
419 | 422 | $class = \Rocket\UI\Forms\Templates\Bootstrap::class; |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | /** |
84 | 84 | * Set the caption |
85 | 85 | * |
86 | - * @param $caption |
|
86 | + * @param string|null $caption |
|
87 | 87 | */ |
88 | 88 | public function setCaption($caption) |
89 | 89 | { |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | /** |
142 | 142 | * Prepare the classes for the table |
143 | 143 | * |
144 | - * @param $has_header |
|
144 | + * @param integer $has_header |
|
145 | 145 | */ |
146 | 146 | private function prepareTableClasses($has_header) |
147 | 147 | { |