@@ -30,11 +30,11 @@ |
||
| 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 | } |
@@ -11,7 +11,7 @@ |
||
| 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 | } |