@@ -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 Railt\Reflection\Base\Definitions; |
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 Railt\Reflection\Base\Definitions; |
11 | 11 | |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | \get_class($this), |
110 | 110 | ])); |
111 | 111 | |
112 | - return (string)$this->name; |
|
112 | + return (string) $this->name; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | */ |
118 | 118 | public function getDescription(): string |
119 | 119 | { |
120 | - return (string)$this->description; |
|
120 | + return (string) $this->description; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
@@ -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 Railt\Reflection\Base\Definitions\Enum; |
11 | 11 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | */ |
32 | 32 | public function getValue(): string |
33 | 33 | { |
34 | - return (string)$this->name; |
|
34 | + return (string) $this->name; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -25,7 +25,7 @@ |
||
25 | 25 | /** |
26 | 26 | * Base type name |
27 | 27 | */ |
28 | - protected const TYPE_NAME = Type::INTERFACE; |
|
28 | + protected const TYPE_NAME = Type::interface; |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @return array |
@@ -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 Railt\Reflection\Base\Definitions; |
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 Railt\Reflection\Base\Processable; |
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 Railt\Reflection\Base\Invocations; |
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 Railt\Reflection\Base\Invocations\Directive; |
11 | 11 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | public function getDirectives(string $name = null): iterable |
41 | 41 | { |
42 | 42 | foreach ($this->directives as $definitions) { |
43 | - foreach ((array)$definitions as $found => $invocation) { |
|
43 | + foreach ((array) $definitions as $found => $invocation) { |
|
44 | 44 | if ($name === null || $name === $found) { |
45 | 45 | yield $found => $invocation; |
46 | 46 | } |
@@ -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 Railt\Reflection\Base\Invocations\Argument; |
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 Railt\Reflection\Base\Behavior; |
11 | 11 | |
@@ -35,6 +35,6 @@ discard block |
||
35 | 35 | */ |
36 | 36 | public function getDeprecationReason(): string |
37 | 37 | { |
38 | - return (string)$this->deprecationReason; |
|
38 | + return (string) $this->deprecationReason; |
|
39 | 39 | } |
40 | 40 | } |