Completed
Push — test-rewrite ( f92d09...00929f )
by Laurent
01:17
created
server/src/Inventory/Domain/Model/Inventory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
         $gaps = [];
31 31
         foreach ($this->articles->toArray() as $article) {
32 32
             if ($article->gap() !== null) {
33
-                $gaps[] = $article->gap() ;
33
+                $gaps[] = $article->gap();
34 34
             }
35 35
         }
36 36
 
37
-        usort($gaps, static function ($gapA, $gapB) use ($order) {
37
+        usort($gaps, static function($gapA, $gapB) use ($order) {
38 38
             if ($gapA[$order] === $gapB[$order]) {
39 39
                 return 0;
40 40
             }
Please login to merge, or discard this patch.
server/src/Inventory/Domain/UseCase/ValidInventory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     {
12 12
         $articles = $inventory->articles()->toArray();
13 13
 
14
-        array_map(static function (Article $article) {
14
+        array_map(static function(Article $article) {
15 15
             $article->validStock();
16 16
         }, $articles);
17 17
     }
Please login to merge, or discard this patch.