@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | public function __construct(QueueInterface $queueAdapter, ?bool $verbose = false) |
| 51 | 51 | { |
| 52 | 52 | $this->queueAdapter = $queueAdapter; |
| 53 | - $this->verbose = (bool)$verbose; |
|
| 53 | + $this->verbose = (bool) $verbose; |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | public function run(?int $limit = 10000) |
@@ -138,8 +138,7 @@ discard block |
||
| 138 | 138 | |
| 139 | 139 | private function onlineIsbnSearch(string $isbn, ?string $isbn10 = null) |
| 140 | 140 | { |
| 141 | - online: |
|
| 142 | - if ($this->verbose) { |
|
| 141 | + online : if ($this->verbose) { |
|
| 143 | 142 | echo "sleep 10...\n"; |
| 144 | 143 | } |
| 145 | 144 | sleep(10); |