Completed
Push — master ( a9dc6d...8a9a8c )
by grégoire
02:19
created
sources/lib/ParameterJuicer.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -118,6 +118,7 @@
 block discarded – undo
118 118
      * Add a new cleaner associated to a key.
119 119
      *
120 120
      * @throws \InvalidArgumentException
121
+     * @param string $name
121 122
      */
122 123
     public function addCleaner($name, callable $cleaner): self
123 124
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     /** @var  array     list of fields, this gives an information if the field
36 36
                         is mandatory or optional. */
37
-    protected $fields       = [];
37
+    protected $fields = [];
38 38
 
39 39
     /**
40 40
      * getName
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     {
107 107
         $this
108 108
             ->checkFieldExists($name)
109
-            ->validators[$name][]  = $validator
109
+            ->validators[$name][] = $validator
110 110
             ;
111 111
 
112 112
         return $this;
Please login to merge, or discard this patch.