@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | public function __construct(QueueInterface $queueAdapter, ?bool $verbose = false) |
| 61 | 61 | { |
| 62 | 62 | $this->queueAdapter = $queueAdapter; |
| 63 | - $this->verbose = (bool)$verbose; |
|
| 63 | + $this->verbose = (bool) $verbose; |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | public function run(?int $limit = 10000) |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | $this->completeOuvrage($googleOuvrage); |
| 229 | 229 | } catch (Throwable $e) { |
| 230 | 230 | echo "*** ERREUR GOOGLE Isbn Search ***".$e->getMessage()."\n"; |
| 231 | - if( strpos($e->getMessage(), 'Could not resolve host: www.googleapis.com') === false) { |
|
| 231 | + if (strpos($e->getMessage(), 'Could not resolve host: www.googleapis.com') === false) { |
|
| 232 | 232 | throw $e; |
| 233 | 233 | } |
| 234 | 234 | unset($e); |