Completed
Push — master ( 14ef77...89c348 )
by Kristijan
18:04
created
src/Kris/LaravelFormBuilder/Fields/FormField.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Kris/LaravelFormBuilder/Form.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
      * Set single form option on form
441 441
      *
442 442
      * @param string $option
443
-     * @param mixed $value
443
+     * @param boolean $value
444 444
      *
445 445
      * @return $this
446 446
      */
@@ -474,8 +474,8 @@  discard block
 block discarded – undo
474 474
     /**
475 475
      * Get an option from provided options and call method with that value
476 476
      *
477
-     * @param $name
478
-     * @param $method
477
+     * @param string $name
478
+     * @param string $method
479 479
      */
480 480
     protected function pullFromOptions($name, $method)
481 481
     {
@@ -799,7 +799,7 @@  discard block
 block discarded – undo
799 799
      * Get the 'lookup' key for a localizable label name
800 800
      *
801 801
      * @param string $label
802
-     * @return $this
802
+     * @return string
803 803
      */
804 804
     public function getLocalizableName($label)
805 805
     {
@@ -849,7 +849,7 @@  discard block
 block discarded – undo
849 849
     /**
850 850
      * Get template from options if provided, otherwise fallback to config
851 851
      *
852
-     * @return mixed
852
+     * @return string
853 853
      */
854 854
     protected function getTemplate()
855 855
     {
Please login to merge, or discard this patch.