Passed
Push — master ( d5add8...c58f02 )
by Luiz Kim
02:26
created
src/Service/ProductService.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -64,11 +64,11 @@  discard block
 block discarded – undo
64 64
         ";
65 65
 
66 66
 
67
-        $purchasingStatus = [7];
68
-        $orderedStatus = [5];
69
-        $transitStatus = [6];
70
-        $salesStatus = [6];
71
-        $companies = [1, 2, 3];
67
+        $purchasingStatus = [ 7 ];
68
+        $orderedStatus = [ 5 ];
69
+        $transitStatus = [ 6 ];
70
+        $salesStatus = [ 6 ];
71
+        $companies = [ 1, 2, 3 ];
72 72
         $allStatus = array_unique(array_merge($purchasingStatus, $orderedStatus, $transitStatus, $salesStatus));
73 73
 
74 74
         try {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
             $stmt->executeQuery();
86 86
         } catch (\Exception $e) {
87
-            throw new \Exception("Erro ao atualizar o estoque: " . $e->getMessage());
87
+            throw new \Exception("Erro ao atualizar o estoque: ".$e->getMessage());
88 88
         }
89 89
     }
90 90
 }
Please login to merge, or discard this patch.