Completed
Push — master ( a2f586...4bbfd3 )
by Maksim
01:10
created
src/Traits/MultiUnitSupport.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -204,8 +204,9 @@
 block discarded – undo
204 204
                         }
205 205
                     }
206 206
                 }
207
-                if(is_string($unit))
208
-                    throw new NotSupportedMultiUnitField($field);
207
+                if(is_string($unit)) {
208
+                                    throw new NotSupportedMultiUnitField($field);
209
+                }
209 210
                 $existingConversionData = $this->getMultiUnitExistingConversionData($field);
210 211
                 if (!is_null($existingConversionData) && !is_null($existingConversionData->{$unit->getSymbol()})) {
211 212
                     return $existingConversionData->{$unit->getSymbol()};
Please login to merge, or discard this patch.