Passed
Push — master ( b73a64...9b2d66 )
by Luiz Kim
02:21
created
src/Service/TaskInterationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
       'ddd' => substr($number, 2, 2),
32 32
       'phone' => substr($number, 4)
33 33
     ];
34
-    $registredBy = $this->peopleService->discoveryPeople(null,  null,  $phone,  $name, null);
34
+    $registredBy = $this->peopleService->discoveryPeople(null, null, $phone, $name, null);
35 35
     $task = $this->discoveryOpenTask($provider, $registredBy, $type, $number);
36 36
 
37 37
     return $this->addInteration($registredBy, $message, $task, $type, 'public');
Please login to merge, or discard this patch.
src/Entity/Task.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
     {
291 291
         return $this->alterDate;
292 292
     }
293
-    public function getAnnounce(bool $decode = false): string|array
293
+    public function getAnnounce(bool $decode = false): string | array
294 294
     {
295 295
         // Ensure we're decoding a string, even if it was temporarily an array internally
296 296
         $announceString = is_array($this->announce) ? json_encode($this->announce) : $this->announce;
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
         return $this->setAnnounce($announce);
308 308
     }
309 309
 
310
-    public function setAnnounce(string|array|object $announce): self
310
+    public function setAnnounce(string | array | object $announce): self
311 311
     {
312 312
         if (is_string($announce))
313 313
             $announce = json_decode($announce, true);
Please login to merge, or discard this patch.