@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | if (!$result->getType()->sameValueAs(OfferType::EVENT())) { |
| 64 | 64 | $skipped[] = $result->getId(); |
| 65 | 65 | $this->logger->warning( |
| 66 | - 'Skipped result with id ' . $result->getId() . ' because it\'s not an event according to the @id parser.' |
|
| 66 | + 'Skipped result with id '.$result->getId().' because it\'s not an event according to the @id parser.' |
|
| 67 | 67 | ); |
| 68 | 68 | continue; |
| 69 | 69 | } |
@@ -75,14 +75,14 @@ discard block |
||
| 75 | 75 | $updated++; |
| 76 | 76 | |
| 77 | 77 | $this->logger->info( |
| 78 | - 'Dispatched UpdateLocation for result with id ' . $result->getId() |
|
| 78 | + 'Dispatched UpdateLocation for result with id '.$result->getId() |
|
| 79 | 79 | ); |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | - $this->logger->info('Received ' . ($updated + count($skipped)) . ' results from the search api.'); |
|
| 83 | - $this->logger->info('Updated ' . $updated . ' events to the canonical location.'); |
|
| 82 | + $this->logger->info('Received '.($updated + count($skipped)).' results from the search api.'); |
|
| 83 | + $this->logger->info('Updated '.$updated.' events to the canonical location.'); |
|
| 84 | 84 | $this->logger->info( |
| 85 | - 'Skipped ' . count($skipped) . ' events:' . PHP_EOL . implode(PHP_EOL, $skipped) |
|
| 85 | + 'Skipped '.count($skipped).' events:'.PHP_EOL.implode(PHP_EOL, $skipped) |
|
| 86 | 86 | ); |
| 87 | 87 | } |
| 88 | 88 | } |
@@ -8,11 +8,11 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public static function becauseItIsDeleted(string $placeId): self |
| 10 | 10 | { |
| 11 | - return new static('Cannot mark place ' . $placeId . ' as duplicate because it is deleted'); |
|
| 11 | + return new static('Cannot mark place '.$placeId.' as duplicate because it is deleted'); |
|
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | public static function becauseItIsAlreadyADuplicate(string $placeId): self |
| 15 | 15 | { |
| 16 | - return new static('Cannot mark place ' . $placeId . ' as duplicate because it is already a duplicate'); |
|
| 16 | + return new static('Cannot mark place '.$placeId.' as duplicate because it is already a duplicate'); |
|
| 17 | 17 | } |
| 18 | 18 | } |
@@ -8,11 +8,11 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public static function becauseItIsDeleted(string $placeId): self |
| 10 | 10 | { |
| 11 | - return new static('Cannot mark place ' . $placeId . ' as canonical because it is deleted'); |
|
| 11 | + return new static('Cannot mark place '.$placeId.' as canonical because it is deleted'); |
|
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | public static function becauseItIsAlreadyADuplicate(string $placeId): self |
| 15 | 15 | { |
| 16 | - return new static('Cannot mark place ' . $placeId . ' as canonical because it is a duplicate'); |
|
| 16 | + return new static('Cannot mark place '.$placeId.' as canonical because it is a duplicate'); |
|
| 17 | 17 | } |
| 18 | 18 | } |