@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Tests; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Builder; |
5 | 5 | |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | return $this->buildProxy($fqcnOrAlias); |
63 | 63 | } |
64 | 64 | |
65 | - if (!$this->container->has($alias)) { |
|
65 | + if ( ! $this->container->has($alias)) { |
|
66 | 66 | $this->container->set($alias, $this->buildProxy($fqcnOrAlias)); |
67 | 67 | } |
68 | 68 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Traits; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Generator\Template; |
5 | 5 | |
@@ -18,8 +18,8 @@ discard block |
||
18 | 18 | protected static function getVisibility(\Reflector $reflector): string |
19 | 19 | { |
20 | 20 | if ( |
21 | - !$reflector instanceof \ReflectionMethod && |
|
22 | - !$reflector instanceof \ReflectionProperty |
|
21 | + ! $reflector instanceof \ReflectionMethod && |
|
22 | + ! $reflector instanceof \ReflectionProperty |
|
23 | 23 | ) { |
24 | 24 | throw new InvalidArgumentException( |
25 | 25 | sprintf( |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Generator\Template; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Generator\Template; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Generator\Template; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Generator\Template; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Moka\Generator\Template; |
5 | 5 | |
@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | |
82 | 82 | foreach ($methods as $method) { |
83 | 83 | if ( |
84 | - !$method->isFinal() && |
|
85 | - !in_array($method->name, self::UNSAFE_METHODS, true) |
|
84 | + ! $method->isFinal() && |
|
85 | + ! in_array($method->name, self::UNSAFE_METHODS, true) |
|
86 | 86 | ) { |
87 | 87 | $methodsCode[] = MethodTemplate::generate($method); |
88 | 88 | } |