| @@ -31,7 +31,7 @@ | ||
| 31 | 31 |      { | 
| 32 | 32 | $cache = new FilesystemAdapter(); | 
| 33 | 33 | |
| 34 | -        $count = $cache->get('users_count', function (ItemInterface $item) { | |
| 34 | +        $count = $cache->get('users_count', function(ItemInterface $item) { | |
| 35 | 35 | $item->expiresAfter(3600); | 
| 36 | 36 | |
| 37 | 37 | return $this->countAll(); | 
| @@ -37,7 +37,7 @@ | ||
| 37 | 37 |      { | 
| 38 | 38 | $cache = new FilesystemAdapter(); | 
| 39 | 39 | |
| 40 | -        $count = $cache->get('categories_count', function (ItemInterface $item) { | |
| 40 | +        $count = $cache->get('categories_count', function(ItemInterface $item) { | |
| 41 | 41 | $item->expiresAfter(3600); | 
| 42 | 42 | |
| 43 | 43 | return $this->countAll(); | 
| @@ -53,7 +53,7 @@ | ||
| 53 | 53 |      { | 
| 54 | 54 | $cache = new FilesystemAdapter(); | 
| 55 | 55 | |
| 56 | -        $count = $cache->get('properties_count', function () { | |
| 56 | +        $count = $cache->get('properties_count', function() { | |
| 57 | 57 | return $this->em->getRepository(Property::class)->countAll(); | 
| 58 | 58 | }); | 
| 59 | 59 | |
| @@ -28,10 +28,10 @@ | ||
| 28 | 28 |      { | 
| 29 | 29 | return [ | 
| 30 | 30 | // $metroData = [$city, $name, $slug]; | 
| 31 | -           [$this->getReference('Miami'), 'Government Center', 'government-center'], | |
| 32 | -           [$this->getReference('Miami'), 'Allapattah', 'allapattah'], | |
| 33 | -           [$this->getReference('Miami'), 'Brickell', 'brickell'], | |
| 34 | -           [$this->getReference('Miami'), 'Culmer', 'culmer'], | |
| 31 | +            [$this->getReference('Miami'), 'Government Center', 'government-center'], | |
| 32 | +            [$this->getReference('Miami'), 'Allapattah', 'allapattah'], | |
| 33 | +            [$this->getReference('Miami'), 'Brickell', 'brickell'], | |
| 34 | +            [$this->getReference('Miami'), 'Culmer', 'culmer'], | |
| 35 | 35 | ]; | 
| 36 | 36 | } | 
| 37 | 37 | |
| @@ -15,7 +15,7 @@ | ||
| 15 | 15 | public function load(ObjectManager $manager): void | 
| 16 | 16 |      { | 
| 17 | 17 | foreach ($this->getPropertyData() as [$dealType, $category, $bedrooms, $guests, $city, $district, | 
| 18 | -                 $neighborhood, $metro, $title, $address, $latitude, $longitude, $price, $priceType, ]) { | |
| 18 | +                    $neighborhood, $metro, $title, $address, $latitude, $longitude, $price, $priceType, ]) { | |
| 19 | 19 | $property = new Property(); | 
| 20 | 20 | $property->setAuthor($this->getReference(UserFixtures::ADMIN_USER_REFERENCE)); | 
| 21 | 21 | $property->setDealType($dealType); | 
| @@ -28,10 +28,10 @@ | ||
| 28 | 28 |      { | 
| 29 | 29 | return [ | 
| 30 | 30 | // $neighborhoodData = [$city, $name, $slug]; | 
| 31 | -           [$this->getReference('Miami'), 'South Beach', 'south-beach'], | |
| 32 | -           [$this->getReference('Miami'), 'Downtown', 'downtown'], | |
| 33 | -           [$this->getReference('Tampa'), 'Ballast Point', 'ballast-point'], | |
| 34 | -           [$this->getReference('Tampa'), 'Culbreath Isles', 'culbreath-isles'], | |
| 31 | +            [$this->getReference('Miami'), 'South Beach', 'south-beach'], | |
| 32 | +            [$this->getReference('Miami'), 'Downtown', 'downtown'], | |
| 33 | +            [$this->getReference('Tampa'), 'Ballast Point', 'ballast-point'], | |
| 34 | +            [$this->getReference('Tampa'), 'Culbreath Isles', 'culbreath-isles'], | |
| 35 | 35 | ]; | 
| 36 | 36 | } | 
| 37 | 37 | |
| @@ -28,7 +28,7 @@ | ||
| 28 | 28 |      { | 
| 29 | 29 | return [ | 
| 30 | 30 | // $districtData = [$city, $name, $slug]; | 
| 31 | -           [$this->getReference('Tampa'), 'South Tampa', 'south-tampa'], | |
| 31 | +            [$this->getReference('Tampa'), 'South Tampa', 'south-tampa'], | |
| 32 | 32 | ]; | 
| 33 | 33 | } | 
| 34 | 34 | |
| @@ -37,7 +37,7 @@ | ||
| 37 | 37 |      { | 
| 38 | 38 | $cache = new FilesystemAdapter(); | 
| 39 | 39 | |
| 40 | -        $count = $cache->get('cities_count', function (ItemInterface $item) { | |
| 40 | +        $count = $cache->get('cities_count', function(ItemInterface $item) { | |
| 41 | 41 | $item->expiresAfter(3600); | 
| 42 | 42 | |
| 43 | 43 | return $this->countAll(); | 
| @@ -37,7 +37,7 @@ | ||
| 37 | 37 |      { | 
| 38 | 38 | $cache = new FilesystemAdapter(); | 
| 39 | 39 | |
| 40 | -        $count = $cache->get('deal_types_count', function (ItemInterface $item) { | |
| 40 | +        $count = $cache->get('deal_types_count', function(ItemInterface $item) { | |
| 41 | 41 | $item->expiresAfter(3600); | 
| 42 | 42 | |
| 43 | 43 | return $this->countAll(); |