Completed
Push — master ( 5061e5...8b9d92 )
by Maksim
11:42
created
src/Traits/MultiUnitSupport.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
     }
167 167
 
168 168
     /**
169
-     * @param                   $field
169
+     * @param                   string $field
170 170
      * @param AbstractUnit|null $unit
171 171
      *
172 172
      * @throws NotSupportedMultiUnitField
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,8 +116,9 @@
 block discarded – undo
116 116
      */
117 117
     private function calculateMultiUnitConversionData($value, AbstractUnit $unit, $requiredUnits)
118 118
     {
119
-        if(is_null($value))
120
-            return null;
119
+        if(is_null($value)) {
120
+                    return null;
121
+        }
121 122
 
122 123
         $conversionData = [];
123 124
         foreach ($requiredUnits as $requiredUnitClass) {
Please login to merge, or discard this patch.