@@ -29,12 +29,12 @@ |
||
29 | 29 | public function __construct( |
30 | 30 | public readonly string $class, |
31 | 31 | public readonly ?string $prefix = null |
32 | - ) { |
|
32 | + ){ |
|
33 | 33 | } |
34 | 34 | |
35 | - public function getSchema(\ReflectionProperty $property): string|array |
|
35 | + public function getSchema(\ReflectionProperty $property): string | array |
|
36 | 36 | { |
37 | - if ($this->prefix) { |
|
37 | + if ($this->prefix){ |
|
38 | 38 | return [$this->class, $this->prefix]; |
39 | 39 | } |
40 | 40 |
@@ -34,7 +34,8 @@ |
||
34 | 34 | |
35 | 35 | public function getSchema(\ReflectionProperty $property): string|array |
36 | 36 | { |
37 | - if ($this->prefix) { |
|
37 | + if ($this->prefix) |
|
38 | + { |
|
38 | 39 | return [$this->class, $this->prefix]; |
39 | 40 | } |
40 | 41 |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function __construct( |
20 | 20 | public readonly ?string $key = null, |
21 | - ) { |
|
21 | + ){ |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -31,6 +31,6 @@ discard block |
||
31 | 31 | |
32 | 32 | public function getSchema(\ReflectionProperty $property): string |
33 | 33 | { |
34 | - return 'server:' . $this->getKey($property); |
|
34 | + return 'server:'.$this->getKey($property); |
|
35 | 35 | } |
36 | 36 | } |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function __construct( |
20 | 20 | public readonly ?string $key = null, |
21 | - ) { |
|
21 | + ){ |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -31,6 +31,6 @@ discard block |
||
31 | 31 | |
32 | 32 | public function getSchema(\ReflectionProperty $property): string |
33 | 33 | { |
34 | - return 'attribute:' . $this->getKey($property); |
|
34 | + return 'attribute:'.$this->getKey($property); |
|
35 | 35 | } |
36 | 36 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | public function __construct( |
28 | 28 | public readonly ?string $key = null, |
29 | - ) { |
|
29 | + ){ |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
@@ -34,11 +34,11 @@ discard block |
||
34 | 34 | */ |
35 | 35 | public function getValue(InputInterface $input, \ReflectionProperty $property): mixed |
36 | 36 | { |
37 | - return $input->getValue('attribute', 'matches.' . $this->getKey($property)); |
|
37 | + return $input->getValue('attribute', 'matches.'.$this->getKey($property)); |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | public function getSchema(\ReflectionProperty $property): string |
41 | 41 | { |
42 | - return 'attribute:matches.' . $this->getKey($property); |
|
42 | + return 'attribute:matches.'.$this->getKey($property); |
|
43 | 43 | } |
44 | 44 | } |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function __construct( |
20 | 20 | public readonly ?string $key = null, |
21 | - ) { |
|
21 | + ){ |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -31,6 +31,6 @@ discard block |
||
31 | 31 | |
32 | 32 | public function getSchema(\ReflectionProperty $property): string |
33 | 33 | { |
34 | - return 'header:' . $this->getKey($property); |
|
34 | + return 'header:'.$this->getKey($property); |
|
35 | 35 | } |
36 | 36 | } |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function __construct( |
20 | 20 | public readonly ?string $key = null, |
21 | - ) { |
|
21 | + ){ |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -31,6 +31,6 @@ discard block |
||
31 | 31 | |
32 | 32 | public function getSchema(\ReflectionProperty $property): string |
33 | 33 | { |
34 | - return 'data:' . $this->getKey($property); |
|
34 | + return 'data:'.$this->getKey($property); |
|
35 | 35 | } |
36 | 36 | } |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | */ |
20 | 20 | public function __construct( |
21 | 21 | public readonly ?string $key = null, |
22 | - ) { |
|
22 | + ){ |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -32,6 +32,6 @@ discard block |
||
32 | 32 | |
33 | 33 | public function getSchema(\ReflectionProperty $property): string |
34 | 34 | { |
35 | - return 'file:' . $this->getKey($property); |
|
35 | + return 'file:'.$this->getKey($property); |
|
36 | 36 | } |
37 | 37 | } |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function __construct( |
20 | 20 | public readonly ?string $key = null, |
21 | - ) { |
|
21 | + ){ |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -31,6 +31,6 @@ discard block |
||
31 | 31 | |
32 | 32 | public function getSchema(\ReflectionProperty $property): string |
33 | 33 | { |
34 | - return 'post:' . $this->getKey($property); |
|
34 | + return 'post:'.$this->getKey($property); |
|
35 | 35 | } |
36 | 36 | } |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function __construct( |
20 | 20 | public readonly ?string $key = null, |
21 | - ) { |
|
21 | + ){ |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -31,6 +31,6 @@ discard block |
||
31 | 31 | |
32 | 32 | public function getSchema(\ReflectionProperty $property): string |
33 | 33 | { |
34 | - return 'query:' . $this->getKey($property); |
|
34 | + return 'query:'.$this->getKey($property); |
|
35 | 35 | } |
36 | 36 | } |