@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare (strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Limoncello\Flute\Validation\JsonApi\Rules; |
4 | 4 | |
@@ -74,8 +74,7 @@ discard block |
||
74 | 74 | } |
75 | 75 | |
76 | 76 | $reply = $foundInvalidType === null ? |
77 | - static::createSuccessReply($indexes) : |
|
78 | - static::createErrorReply( |
|
77 | + static::createSuccessReply($indexes) : static::createErrorReply( |
|
79 | 78 | $context, |
80 | 79 | $foundInvalidType, |
81 | 80 | ErrorCodes::INVALID_RELATIONSHIP_TYPE, |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare (strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Limoncello\Flute\Validation\JsonApi\Rules; |
4 | 4 | |
@@ -85,8 +85,7 @@ discard block |
||
85 | 85 | } |
86 | 86 | |
87 | 87 | return $result === true ? |
88 | - static::createSuccessReply($values) : |
|
89 | - static::createErrorReply( |
|
88 | + static::createSuccessReply($values) : static::createErrorReply( |
|
90 | 89 | $context, |
91 | 90 | $values, |
92 | 91 | ErrorCodes::EXIST_IN_DATABASE_MULTIPLE, |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Limoncello\Flute\Validation\Rules; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Limoncello\Flute\Validation\Rules; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Limoncello\Flute\L10n; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Limoncello\Flute\Exceptions; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Limoncello\Flute\Exceptions; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Limoncello\Flute\Exceptions; |
4 | 4 |
@@ -3,20 +3,20 @@ |
||
3 | 3 | namespace Limoncello\Flute\Contracts\Models; |
4 | 4 | |
5 | 5 | /** |
6 | - * Copyright 2015-2019 [email protected] |
|
7 | - * |
|
8 | - * Licensed under the Apache License, Version 2.0 (the "License"); |
|
9 | - * you may not use this file except in compliance with the License. |
|
10 | - * You may obtain a copy of the License at |
|
11 | - * |
|
12 | - * http://www.apache.org/licenses/LICENSE-2.0 |
|
13 | - * |
|
14 | - * Unless required by applicable law or agreed to in writing, software |
|
15 | - * distributed under the License is distributed on an "AS IS" BASIS, |
|
16 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
17 | - * See the License for the specific language governing permissions and |
|
18 | - * limitations under the License. |
|
19 | - */ |
|
6 | + * Copyright 2015-2019 [email protected] |
|
7 | + * |
|
8 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
|
9 | + * you may not use this file except in compliance with the License. |
|
10 | + * You may obtain a copy of the License at |
|
11 | + * |
|
12 | + * http://www.apache.org/licenses/LICENSE-2.0 |
|
13 | + * |
|
14 | + * Unless required by applicable law or agreed to in writing, software |
|
15 | + * distributed under the License is distributed on an "AS IS" BASIS, |
|
16 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
17 | + * See the License for the specific language governing permissions and |
|
18 | + * limitations under the License. |
|
19 | + */ |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @package Limoncello\Flute |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare (strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Limoncello\Flute\Contracts\Models; |
4 | 4 |