@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Deserialization\Denormalizer\Relation; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Deserialization\Denormalizer\Relation; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Deserialization\Denormalizer\Relation; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Deserialization\Denormalizer; |
6 | 6 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * @param ServerRequestInterface|null $request |
30 | 30 | */ |
31 | 31 | public function __construct( |
32 | - ?array $allowedAdditionalFields = [], |
|
32 | + ? array $allowedAdditionalFields = [], |
|
33 | 33 | array $groups = [], |
34 | 34 | ServerRequestInterface $request = null |
35 | 35 | ) { |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * @return array|null |
43 | 43 | */ |
44 | - public function getAllowedAdditionalFields(): ?array |
|
44 | + public function getAllowedAdditionalFields(): ? array |
|
45 | 45 | { |
46 | 46 | return $this->allowedAdditionalFields; |
47 | 47 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Deserialization\Denormalizer; |
6 | 6 | |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @return DenormalizerContextBuilderInterface |
46 | 46 | */ |
47 | - public function setAllowedAdditionalFields(?array $allowedAdditionalFields): DenormalizerContextBuilderInterface |
|
47 | + public function setAllowedAdditionalFields(? array $allowedAdditionalFields) : DenormalizerContextBuilderInterface |
|
48 | 48 | { |
49 | 49 | $this->allowedAdditionalFields = $allowedAdditionalFields; |
50 | 50 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Deserialization\Denormalizer; |
6 | 6 | |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * |
19 | 19 | * @return self |
20 | 20 | */ |
21 | - public function setAllowedAdditionalFields(?array $allowedAdditionalFields): self; |
|
21 | + public function setAllowedAdditionalFields(? array $allowedAdditionalFields) : self; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * @param string[] $groups |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\Deserialization\Denormalizer; |
6 | 6 | |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | /** |
12 | 12 | * @return array|null |
13 | 13 | */ |
14 | - public function getAllowedAdditionalFields(): ?array; |
|
14 | + public function getAllowedAdditionalFields(): ? array; |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * @return string[] |