@@ -31,7 +31,7 @@ |
||
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'); |
@@ -290,7 +290,7 @@ discard block |
||
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 |
||
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); |