Completed
Push — master ( 8dc74b...bcadf4 )
by Valery
04:12
created
src/DataFixtures/CategoryFixtures.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 {
13 13
     public function load(ObjectManager $manager): void
14 14
     {
15
-        foreach ($this->getCategoryData() as [$slug, $name]) {
15
+        foreach ($this->getCategoryData() as [ $slug, $name ]) {
16 16
             $category = new Category();
17 17
             $category->setName($name);
18 18
             $category->setSlug($slug);
@@ -26,10 +26,10 @@  discard block
 block discarded – undo
26 26
     {
27 27
         return [
28 28
             // $categoryData = [$slug, $name];
29
-            ['apartment', 'Apartment'],
30
-            ['duplex', 'Duplex'],
31
-            ['penthouse', 'Penthouse'],
32
-            ['villa', 'Villa'],
29
+            [ 'apartment', 'Apartment' ],
30
+            [ 'duplex', 'Duplex' ],
31
+            [ 'penthouse', 'Penthouse' ],
32
+            [ 'villa', 'Villa' ],
33 33
         ];
34 34
     }
35 35
 }
Please login to merge, or discard this patch.