@@ -7,4 +7,4 @@ |
||
7 | 7 | /** |
8 | 8 | * @internal |
9 | 9 | */ |
10 | -abstract class Binding implements \Stringable {} |
|
10 | +abstract class Binding implements \Stringable{} |
@@ -15,7 +15,7 @@ |
||
15 | 15 | public function __construct( |
16 | 16 | public readonly array $factory, |
17 | 17 | public readonly bool $singleton = false, |
18 | - ) {} |
|
18 | + ){} |
|
19 | 19 | |
20 | 20 | public function __toString(): string |
21 | 21 | { |
@@ -15,7 +15,8 @@ |
||
15 | 15 | public function __construct( |
16 | 16 | public readonly array $factory, |
17 | 17 | public readonly bool $singleton = false, |
18 | - ) {} |
|
18 | + ) { |
|
19 | +} |
|
19 | 20 | |
20 | 21 | public function __toString(): string |
21 | 22 | { |
@@ -7,8 +7,8 @@ |
||
7 | 7 | final class Scalar extends Binding |
8 | 8 | { |
9 | 9 | public function __construct( |
10 | - public readonly bool|int|string|float $value, |
|
11 | - ) {} |
|
10 | + public readonly bool | int | string | float $value, |
|
11 | + ){} |
|
12 | 12 | |
13 | 13 | public function __toString(): string |
14 | 14 | { |
@@ -8,7 +8,8 @@ |
||
8 | 8 | { |
9 | 9 | public function __construct( |
10 | 10 | public readonly bool|int|string|float $value, |
11 | - ) {} |
|
11 | + ) { |
|
12 | +} |
|
12 | 13 | |
13 | 14 | public function __toString(): string |
14 | 15 | { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | { |
12 | 12 | public function __construct( |
13 | 13 | public \WeakReference $reference, |
14 | - ) {} |
|
14 | + ){} |
|
15 | 15 | |
16 | 16 | public function __toString(): string |
17 | 17 | { |
@@ -11,7 +11,8 @@ |
||
11 | 11 | { |
12 | 12 | public function __construct( |
13 | 13 | public \WeakReference $reference, |
14 | - ) {} |
|
14 | + ) { |
|
15 | +} |
|
15 | 16 | |
16 | 17 | public function __toString(): string |
17 | 18 | { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | public function __construct( |
15 | 15 | public readonly AutowireAlias $autowire, |
16 | 16 | public readonly bool $singleton = false, |
17 | - ) {} |
|
17 | + ){} |
|
18 | 18 | |
19 | 19 | public function __toString(): string |
20 | 20 | { |
@@ -14,7 +14,8 @@ |
||
14 | 14 | public function __construct( |
15 | 15 | public readonly AutowireAlias $autowire, |
16 | 16 | public readonly bool $singleton = false, |
17 | - ) {} |
|
17 | + ) { |
|
18 | +} |
|
18 | 19 | |
19 | 20 | public function __toString(): string |
20 | 21 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | public function __construct( |
13 | 13 | public readonly string $alias, |
14 | 14 | public readonly bool $singleton = false, |
15 | - ) {} |
|
15 | + ){} |
|
16 | 16 | |
17 | 17 | public function __toString(): string |
18 | 18 | { |
@@ -12,7 +12,8 @@ |
||
12 | 12 | public function __construct( |
13 | 13 | public readonly string $alias, |
14 | 14 | public readonly bool $singleton = false, |
15 | - ) {} |
|
15 | + ) { |
|
16 | +} |
|
16 | 17 | |
17 | 18 | public function __toString(): string |
18 | 19 | { |
@@ -17,8 +17,8 @@ |
||
17 | 17 | * @param string|InjectorInterface $injector Injector object or binding alias. |
18 | 18 | */ |
19 | 19 | public function __construct( |
20 | - public readonly string|InjectorInterface $injector, |
|
21 | - ) {} |
|
20 | + public readonly string | InjectorInterface $injector, |
|
21 | + ){} |
|
22 | 22 | |
23 | 23 | public function __toString(): string |
24 | 24 | { |
@@ -18,7 +18,8 @@ |
||
18 | 18 | */ |
19 | 19 | public function __construct( |
20 | 20 | public readonly string|InjectorInterface $injector, |
21 | - ) {} |
|
21 | + ) { |
|
22 | +} |
|
22 | 23 | |
23 | 24 | public function __toString(): string |
24 | 25 | { |
@@ -7,4 +7,4 @@ |
||
7 | 7 | /** |
8 | 8 | * Rare cases when spiral container can't resolve controllable injection. |
9 | 9 | */ |
10 | -class InjectionException extends ContainerException {} |
|
10 | +class InjectionException extends ContainerException{} |
@@ -7,4 +7,6 @@ |
||
7 | 7 | /** |
8 | 8 | * Rare cases when spiral container can't resolve controllable injection. |
9 | 9 | */ |
10 | -class InjectionException extends ContainerException {} |
|
10 | +class InjectionException extends ContainerException |
|
11 | +{ |
|
12 | +} |
@@ -4,4 +4,4 @@ |
||
4 | 4 | |
5 | 5 | namespace Spiral\Core\Exception\Container; |
6 | 6 | |
7 | -class NotCallableException extends ContainerException {} |
|
7 | +class NotCallableException extends ContainerException{} |
@@ -4,4 +4,6 @@ |
||
4 | 4 | |
5 | 5 | namespace Spiral\Core\Exception\Container; |
6 | 6 | |
7 | -class NotCallableException extends ContainerException {} |
|
7 | +class NotCallableException extends ContainerException |
|
8 | +{ |
|
9 | +} |