Passed
Push — master ( 804000...66add2 )
by Radosław
02:28
created
src/Field.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,6 @@  discard block
 block discarded – undo
149 149
 
150 150
     /**
151 151
      * Detect type of range passed as argument (int, float, date)
152
-     * @param array $value value to detect type
153 152
      */
154 153
     protected function setValueRangeAutodetect(array $range)
155 154
     {
@@ -201,6 +200,9 @@  discard block
 block discarded – undo
201 200
 
202 201
 
203 202
 
203
+    /**
204
+     * @param string $forceValueType
205
+     */
204 206
     protected function setValueForced($forceValueType, $value)
205 207
     {
206 208
         if (!property_exists($this, $forceValueType)) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
                 ['fvalueRangeFloatMin', 'fvalueRangeFloatMax'],
168 168
                 $range
169 169
             );
170
-        } elseif($this->isRangeInt($range)) {
170
+        } elseif ($this->isRangeInt($range)) {
171 171
             $this->fvalueRangeInt = array_combine(
172 172
                 ['fvalueRangeIntMin', 'fvalueRangeIntMax'],
173 173
                 $range
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
         //recursive object to array :)
241 241
         $array = json_decode(json_encode($array), true);
242 242
 
243
-        foreach($array as $key => $value) {
243
+        foreach ($array as $key => $value) {
244 244
             if (!property_exists($this, $key)) {
245 245
                 throw new Exception("Unknown Field property: {$key}");
246 246
             }
Please login to merge, or discard this patch.