@@ -18,6 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | public function __toString() |
| 20 | 20 | { |
| 21 | - return __CLASS__.":[{$this->code}]:{$this->message}\n"; |
|
| 21 | + return __CLASS__ . ":[{$this->code}]:{$this->message}\n"; |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | public function __toString() |
| 20 | 20 | { |
| 21 | - return __CLASS__.":[{$this->code}]:{$this->message}\n"; |
|
| 21 | + return __CLASS__ . ":[{$this->code}]:{$this->message}\n"; |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | public function __toString() |
| 20 | 20 | { |
| 21 | - return __CLASS__.":[{$this->code}]:{$this->message}\n"; |
|
| 21 | + return __CLASS__ . ":[{$this->code}]:{$this->message}\n"; |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | public function __toString() |
| 20 | 20 | { |
| 21 | - return __CLASS__.":[{$this->code}]:{$this->message}\n"; |
|
| 21 | + return __CLASS__ . ":[{$this->code}]:{$this->message}\n"; |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | public function __toString() |
| 20 | 20 | { |
| 21 | - return __CLASS__.":[{$this->code}]:{$this->message}\n"; |
|
| 21 | + return __CLASS__ . ":[{$this->code}]:{$this->message}\n"; |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | public function __toString() |
| 20 | 20 | { |
| 21 | - return __CLASS__.":[{$this->code}]:{$this->message}\n"; |
|
| 21 | + return __CLASS__ . ":[{$this->code}]:{$this->message}\n"; |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | public function __toString() |
| 20 | 20 | { |
| 21 | - return __CLASS__.":[{$this->code}]:{$this->message}\n"; |
|
| 21 | + return __CLASS__ . ":[{$this->code}]:{$this->message}\n"; |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | */ |
| 124 | 124 | public function unpublish(string $streamId) |
| 125 | 125 | { |
| 126 | - $this->publishers = array_filter($this->publishers, function (Publisher $publisher) use ($streamId) { |
|
| 126 | + $this->publishers = array_filter($this->publishers, function(Publisher $publisher) use ($streamId) { |
|
| 127 | 127 | return $streamId !== $publisher->getStreamId(); |
| 128 | 128 | }); |
| 129 | 129 | } |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | public function unsubscribe(string $streamId) |
| 136 | 136 | { |
| 137 | 137 | if (!empty($this->subscribers)) { |
| 138 | - $this->subscribers = array_filter($this->subscribers, function (Subscriber $subscriber) use ($streamId) { |
|
| 138 | + $this->subscribers = array_filter($this->subscribers, function(Subscriber $subscriber) use ($streamId) { |
|
| 139 | 139 | return $subscriber->getPublisherStreamId() !== $streamId; |
| 140 | 140 | }); |
| 141 | 141 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | { |
| 25 | 25 | if (array_key_exists('session', $properties)) { |
| 26 | 26 | return new SignalProperties( |
| 27 | - $properties['session'], |
|
| 27 | + $properties['session'], |
|
| 28 | 28 | array_key_exists('data', $properties) ? $properties['data'] : null, |
| 29 | 29 | array_key_exists('type', $properties) ? $properties['type'] : null, |
| 30 | 30 | array_key_exists('to', $properties) ? $properties['to'] : null |