@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Gitter; |
11 | 11 | |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | */ |
183 | 183 | public function __get(string $resource) |
184 | 184 | { |
185 | - $resolve = function (string $resource) { |
|
185 | + $resolve = function(string $resource) { |
|
186 | 186 | switch ($resource) { |
187 | 187 | // == RESOURCES == |
188 | 188 | case 'users': |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | case 'groups': |
323 | 323 | case 'messages': |
324 | 324 | case 'rooms': |
325 | - throw new \LogicException('Resource ' . $name . ' can not be removed'); |
|
325 | + throw new \LogicException('Resource '.$name.' can not be removed'); |
|
326 | 326 | } |
327 | 327 | } |
328 | 328 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Gitter\Resources; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Gitter\Support; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Gitter\Adapters; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Gitter\Adapters; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Gitter\Adapters; |
11 | 11 |
@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | * For the full copyright and license information, please view the LICENSE |
5 | 5 | * file that was distributed with this source code. |
6 | 6 | */ |
7 | -declare(strict_types=1); |
|
7 | +declare(strict_types = 1); |
|
8 | 8 | |
9 | 9 | namespace Gitter\Resources; |
10 | 10 | |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | { |
92 | 92 | $route = Route::get('rooms/{roomId}/chatMessages') |
93 | 93 | ->with('roomId', $roomId) |
94 | - ->with('limit', (string)$limit); |
|
94 | + ->with('limit', (string) $limit); |
|
95 | 95 | |
96 | 96 | if ($query !== null) { |
97 | 97 | $route->with('q', $query); |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | $route->with('afterId', $afterId); |
124 | 124 | } |
125 | 125 | |
126 | - $response = (array)$this->fetch($route); |
|
126 | + $response = (array) $this->fetch($route); |
|
127 | 127 | |
128 | 128 | foreach ($response as $message) { |
129 | 129 | yield $message; |