Passed
Branch dev (8d7b92)
by Dispositif
03:12
created
src/Application/OuvrageCompleteWorker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.