@@ -9,8 +9,8 @@ |
||
9 | 9 | { |
10 | 10 | public readonly string $scope; |
11 | 11 | |
12 | - public function __construct(string|\BackedEnum $scope) |
|
12 | + public function __construct(string | \BackedEnum $scope) |
|
13 | 13 | { |
14 | - $this->scope = \is_object($scope) ? (string) $scope->value : $scope; |
|
14 | + $this->scope = \is_object($scope) ? (string)$scope->value : $scope; |
|
15 | 15 | } |
16 | 16 | } |
@@ -13,5 +13,5 @@ |
||
13 | 13 | public array $allowEnv = [], |
14 | 14 | public array $denyEnv = [], |
15 | 15 | public bool $override = true, |
16 | - ) {} |
|
16 | + ){} |
|
17 | 17 | } |
@@ -13,5 +13,6 @@ |
||
13 | 13 | public array $allowEnv = [], |
14 | 14 | public array $denyEnv = [], |
15 | 15 | public bool $override = true, |
16 | - ) {} |
|
16 | + ) { |
|
17 | +} |
|
17 | 18 | } |
@@ -9,5 +9,5 @@ |
||
9 | 9 | { |
10 | 10 | public function __construct( |
11 | 11 | public readonly int $priority = 0, |
12 | - ) {} |
|
12 | + ){} |
|
13 | 13 | } |
@@ -9,5 +9,6 @@ |
||
9 | 9 | { |
10 | 10 | public function __construct( |
11 | 11 | public readonly int $priority = 0, |
12 | - ) {} |
|
12 | + ) { |
|
13 | +} |
|
13 | 14 | } |
@@ -5,4 +5,4 @@ |
||
5 | 5 | namespace Spiral\Boot\Attribute; |
6 | 6 | |
7 | 7 | #[\Attribute(\Attribute::TARGET_METHOD)] |
8 | -final class SingletonMethod extends AbstractMethod {} |
|
8 | +final class SingletonMethod extends AbstractMethod{} |
@@ -5,4 +5,6 @@ |
||
5 | 5 | namespace Spiral\Boot\Attribute; |
6 | 6 | |
7 | 7 | #[\Attribute(\Attribute::TARGET_METHOD)] |
8 | -final class SingletonMethod extends AbstractMethod {} |
|
8 | +final class SingletonMethod extends AbstractMethod |
|
9 | +{ |
|
10 | +} |
@@ -9,5 +9,5 @@ |
||
9 | 9 | { |
10 | 10 | public function __construct( |
11 | 11 | public readonly int $priority = 0, |
12 | - ) {} |
|
12 | + ){} |
|
13 | 13 | } |
@@ -9,5 +9,6 @@ |
||
9 | 9 | { |
10 | 10 | public function __construct( |
11 | 11 | public readonly int $priority = 0, |
12 | - ) {} |
|
12 | + ) { |
|
13 | +} |
|
13 | 14 | } |
@@ -5,4 +5,4 @@ |
||
5 | 5 | namespace Spiral\Boot\Attribute; |
6 | 6 | |
7 | 7 | #[\Attribute(\Attribute::TARGET_METHOD)] |
8 | -final class BindMethod extends AbstractMethod {} |
|
8 | +final class BindMethod extends AbstractMethod{} |
@@ -5,4 +5,6 @@ |
||
5 | 5 | namespace Spiral\Boot\Attribute; |
6 | 6 | |
7 | 7 | #[\Attribute(\Attribute::TARGET_METHOD)] |
8 | -final class BindMethod extends AbstractMethod {} |
|
8 | +final class BindMethod extends AbstractMethod |
|
9 | +{ |
|
10 | +} |