@@ -12,7 +12,7 @@ discard block |
||
| 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 |
||
| 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 | } |