@@ -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 | |
@@ -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 |
@@ -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; |
| 11 | 11 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * @param null|string $alias |
| 52 | 52 | * @return Manager |
| 53 | 53 | */ |
| 54 | - public function register(SystemInterface $system, ?string $alias = null): Manager |
|
| 54 | + public function register(SystemInterface $system, ? string $alias = null) : Manager |
|
| 55 | 55 | { |
| 56 | 56 | if ($alias !== null) { |
| 57 | 57 | $this->systems[$alias] = $system; |
@@ -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\Ast; |
| 11 | 11 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * @param string $login |
| 50 | 50 | * @param null|string $avatar |
| 51 | 51 | */ |
| 52 | - public function __construct(string $body, string $id, string $login, ?string $avatar) |
|
| 52 | + public function __construct(string $body, string $id, string $login, ? string $avatar) |
|
| 53 | 53 | { |
| 54 | 54 | $this->id = $id; |
| 55 | 55 | $this->login = $login; |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | /** |
| 78 | 78 | * @return null|string |
| 79 | 79 | */ |
| 80 | - public function getAvatar(): ?string |
|
| 80 | + public function getAvatar(): ? string |
|
| 81 | 81 | { |
| 82 | 82 | return $this->avatar; |
| 83 | 83 | } |
@@ -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\Ast; |
| 11 | 11 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * @param string $body |
| 31 | 31 | * @param null|string $language |
| 32 | 32 | */ |
| 33 | - public function __construct(string $body, ?string $language) |
|
| 33 | + public function __construct(string $body, ? string $language) |
|
| 34 | 34 | { |
| 35 | 35 | $this->language = $language ?: static::LANGUAGE_GENERIC; |
| 36 | 36 | |
@@ -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\Ast; |
| 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 Karma\Platform\Ast; |
| 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 Karma\Platform\Ast\Transformer; |
| 11 | 11 | |