@@ -230,7 +230,7 @@ |
||
| 230 | 230 | /** |
| 231 | 231 | * Format the label to the proper format |
| 232 | 232 | * |
| 233 | - * @param $name |
|
| 233 | + * @param string $name |
|
| 234 | 234 | * @return string |
| 235 | 235 | */ |
| 236 | 236 | public function formatLabel($name) |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php namespace Kris\LaravelFormBuilder; |
| 2 | 2 | |
| 3 | -use Illuminate\Support\Collection; |
|
| 4 | -use Symfony\Component\Translation\TranslatorInterface; |
|
| 3 | +use Illuminate\Contracts\View\Factory as View; |
|
| 5 | 4 | use Illuminate\Database\Eloquent\Model; |
| 5 | +use Illuminate\Support\Collection; |
|
| 6 | 6 | use Kris\LaravelFormBuilder\Fields\FormField; |
| 7 | -use Illuminate\Contracts\View\Factory as View; |
|
| 7 | +use Symfony\Component\Translation\TranslatorInterface; |
|
| 8 | 8 | |
| 9 | 9 | class FormHelper |
| 10 | 10 | { |