@@ -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 Karma\Platform\Support; |
11 | 11 |
@@ -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 Karma\Platform\Support; |
11 | 11 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * @return null|LoggerInterface |
28 | 28 | */ |
29 | - public function getLogger(): ?LoggerInterface |
|
29 | + public function getLogger(): ? LoggerInterface |
|
30 | 30 | { |
31 | 31 | return $this->logger; |
32 | 32 | } |
@@ -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 Karma\Platform\Support; |
11 | 11 | |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | /** |
62 | 62 | * @param null|string $class |
63 | 63 | */ |
64 | - protected function clearIdentityMap(?string $class): void |
|
64 | + protected function clearIdentityMap(? string $class) : void |
|
65 | 65 | { |
66 | 66 | if ($class === null) { |
67 | 67 | $this->items = []; |
@@ -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 Karma\Platform\Support; |
11 | 11 | |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | /** |
21 | 21 | * @return null|LoggerInterface |
22 | 22 | */ |
23 | - public function getLogger(): ?LoggerInterface; |
|
23 | + public function getLogger(): ? LoggerInterface; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * @param string $message |
@@ -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 Karma\Platform\Io; |
11 | 11 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * @param LoopInterface $loop |
34 | 34 | * @param null|LoggerInterface $logger |
35 | 35 | */ |
36 | - public function onRegister(LoopInterface $loop, ?LoggerInterface $logger): void |
|
36 | + public function onRegister(LoopInterface $loop, ? LoggerInterface $logger) : void |
|
37 | 37 | { |
38 | 38 | $this->loop = $loop; |
39 | 39 | $this->logger = $logger; |
@@ -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 Karma\Platform\Io; |
11 | 11 |
@@ -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 Karma\Platform\Io; |
11 | 11 | |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * @param null|LoggerInterface $logger |
24 | 24 | * @return void |
25 | 25 | */ |
26 | - public function onRegister(LoopInterface $loop, ?LoggerInterface $logger): void; |
|
26 | + public function onRegister(LoopInterface $loop, ? LoggerInterface $logger) : void; |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @return UserInterface |
@@ -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 Karma\Platform\Io; |
11 | 11 | |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | /** |
89 | 89 | * @return null|string |
90 | 90 | */ |
91 | - public function getAvatar(): ?string |
|
91 | + public function getAvatar(): ? string |
|
92 | 92 | { |
93 | 93 | return $this->avatar; |
94 | 94 | } |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of Platform package. |
4 | 4 | * |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * @return string|null |
23 | 23 | */ |
24 | - public function getAvatar(): ?string; |
|
24 | + public function getAvatar(): ? string; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @return string |