@@ -195,8 +195,8 @@ discard block |
||
| 195 | 195 | /** |
| 196 | 196 | * Transform array like syntax to dot syntax |
| 197 | 197 | * |
| 198 | - * @param $key |
|
| 199 | - * @return mixed |
|
| 198 | + * @param string $key |
|
| 199 | + * @return string |
|
| 200 | 200 | */ |
| 201 | 201 | protected function transformKey($key) |
| 202 | 202 | { |
@@ -302,7 +302,7 @@ discard block |
||
| 302 | 302 | /** |
| 303 | 303 | * Get single option from options array. Can be used with dot notation ('attr.class') |
| 304 | 304 | * |
| 305 | - * @param $option |
|
| 305 | + * @param string $option |
|
| 306 | 306 | * @param mixed $default |
| 307 | 307 | * |
| 308 | 308 | * @return mixed |
@@ -1,7 +1,5 @@ |
||
| 1 | 1 | <?php namespace Kris\LaravelFormBuilder\Fields; |
| 2 | 2 | |
| 3 | -use Illuminate\Database\Eloquent\Collection; |
|
| 4 | -use Illuminate\Database\Eloquent\Model; |
|
| 5 | 3 | use Kris\LaravelFormBuilder\Form; |
| 6 | 4 | use Kris\LaravelFormBuilder\FormHelper; |
| 7 | 5 | use Kris\LaravelFormBuilder\RulesParser; |
@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | * Set single form option on form |
| 437 | 437 | * |
| 438 | 438 | * @param string $option |
| 439 | - * @param mixed $value |
|
| 439 | + * @param boolean $value |
|
| 440 | 440 | * |
| 441 | 441 | * @return $this |
| 442 | 442 | */ |
@@ -469,8 +469,8 @@ discard block |
||
| 469 | 469 | /** |
| 470 | 470 | * Get an option from provided options and call method with that value |
| 471 | 471 | * |
| 472 | - * @param $name |
|
| 473 | - * @param $method |
|
| 472 | + * @param string $name |
|
| 473 | + * @param string $method |
|
| 474 | 474 | */ |
| 475 | 475 | protected function pullFromOptions($name, $method) |
| 476 | 476 | { |
@@ -804,7 +804,7 @@ discard block |
||
| 804 | 804 | /** |
| 805 | 805 | * Get template from options if provided, otherwise fallback to config |
| 806 | 806 | * |
| 807 | - * @return mixed |
|
| 807 | + * @return string |
|
| 808 | 808 | */ |
| 809 | 809 | protected function getTemplate() |
| 810 | 810 | { |