@@ -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 |
@@ -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 |
@@ -70,13 +70,13 @@ |
||
70 | 70 | private function buildEmail(User $user): TemplatedEmail |
71 | 71 | { |
72 | 72 | return (new TemplatedEmail()) |
73 | - ->from($this->getSender()) |
|
74 | - ->to($user->getEmail()) |
|
75 | - ->subject($this->getSubject()) |
|
76 | - ->textTemplate('emails/reset.txt.twig') |
|
77 | - ->context([ |
|
78 | - 'confirmationUrl' => $this->getConfirmationUrl($user), |
|
79 | - 'username' => $user->getUsername(), |
|
80 | - ]); |
|
73 | + ->from($this->getSender()) |
|
74 | + ->to($user->getEmail()) |
|
75 | + ->subject($this->getSubject()) |
|
76 | + ->textTemplate('emails/reset.txt.twig') |
|
77 | + ->context([ |
|
78 | + 'confirmationUrl' => $this->getConfirmationUrl($user), |
|
79 | + 'username' => $user->getUsername(), |
|
80 | + ]); |
|
81 | 81 | } |
82 | 82 | } |
@@ -34,7 +34,7 @@ |
||
34 | 34 | { |
35 | 35 | $this->persistentObjectName = $class; |
36 | 36 | |
37 | - $count = $this->cache->get($key, function () { |
|
37 | + $count = $this->cache->get($key, function() { |
|
38 | 38 | return $this->countItems(); |
39 | 39 | }); |
40 | 40 |
@@ -15,7 +15,7 @@ |
||
15 | 15 | public function load(ObjectManager $manager): void |
16 | 16 | { |
17 | 17 | foreach ($this->getPropertyData() as [$author, $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($author); |
21 | 21 | $property->setDealType($dealType); |
@@ -4,6 +4,6 @@ |
||
4 | 4 | |
5 | 5 | require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; |
6 | 6 | |
7 | -return function (array $context) { |
|
7 | +return function(array $context) { |
|
8 | 8 | return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); |
9 | 9 | }; |
@@ -48,7 +48,7 @@ |
||
48 | 48 | |
49 | 49 | $allUsers = $this->users->findBy([], ['id' => 'DESC'], $limit); |
50 | 50 | |
51 | - $usersAsPlainArrays = array_map(function (User $user) { |
|
51 | + $usersAsPlainArrays = array_map(function(User $user) { |
|
52 | 52 | return [ |
53 | 53 | $user->getId(), |
54 | 54 | $user->getProfile()->getFullName(), |