@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | |
109 | 109 | $total = $results->getTotalItems()->toNative(); |
110 | 110 | |
111 | - $this->logger->info('Search API reported ' . $total . ' results'); |
|
111 | + $this->logger->info('Search API reported '.$total.' results'); |
|
112 | 112 | |
113 | 113 | foreach ($results->getItems() as $item) { |
114 | 114 | $id = $item->getId(); |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | 'query_duplicate_event', |
124 | 124 | array( |
125 | 125 | 'query' => $query, |
126 | - 'error' => "Found duplicate offer {$id} on page {$currentPage}, " . |
|
126 | + 'error' => "Found duplicate offer {$id} on page {$currentPage}, ". |
|
127 | 127 | "occurred first time on page {$ids[$id]}.", |
128 | 128 | ) |
129 | 129 | ); |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | if (!$result->getType()->sameValueAs(OfferType::EVENT())) { |
76 | 76 | $skipped[] = $result->getId(); |
77 | 77 | $this->logger->warning( |
78 | - 'Skipped result with id ' . $result->getId() . ' because it\'s not an event according to the @id parser.' |
|
78 | + 'Skipped result with id '.$result->getId().' because it\'s not an event according to the @id parser.' |
|
79 | 79 | ); |
80 | 80 | continue; |
81 | 81 | } |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | $commands[] = new UpdateLocation($result->getId(), new LocationId($canonicalPlaceId)); |
86 | 86 | |
87 | 87 | $this->logger->info( |
88 | - 'Dispatched UpdateLocation for result with id ' . $result->getId() |
|
88 | + 'Dispatched UpdateLocation for result with id '.$result->getId() |
|
89 | 89 | ); |
90 | 90 | } |
91 | 91 | |
@@ -96,10 +96,10 @@ discard block |
||
96 | 96 | $updated = count($commands); |
97 | 97 | $total = $updated + count($skipped); |
98 | 98 | |
99 | - $this->logger->info('Received ' . $total . ' results from the search api.'); |
|
100 | - $this->logger->info('Updated ' . $updated . ' events to the canonical location.'); |
|
99 | + $this->logger->info('Received '.$total.' results from the search api.'); |
|
100 | + $this->logger->info('Updated '.$updated.' events to the canonical location.'); |
|
101 | 101 | $this->logger->info( |
102 | - 'Skipped ' . count($skipped) . ' events:' . PHP_EOL . implode(PHP_EOL, $skipped) |
|
102 | + 'Skipped '.count($skipped).' events:'.PHP_EOL.implode(PHP_EOL, $skipped) |
|
103 | 103 | ); |
104 | 104 | } |
105 | 105 | } |