@@ -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 | } |
@@ -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 | } |