@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare (strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace VGirol\JsonApiAssert\Factory; |
5 | 5 |
@@ -33,7 +33,7 @@ |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | return $this->map( |
36 | - function ($resource) { |
|
36 | + function($resource) { |
|
37 | 37 | return $resource->toArray(); |
38 | 38 | } |
39 | 39 | ); |
@@ -101,7 +101,7 @@ |
||
101 | 101 | } |
102 | 102 | if (isset($this->relationships)) { |
103 | 103 | $resource[Members::RELATIONSHIPS] = array_map( |
104 | - function ($relationship) { |
|
104 | + function($relationship) { |
|
105 | 105 | return $relationship->toArray(); |
106 | 106 | }, |
107 | 107 | $this->relationships |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare (strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace VGirol\JsonApiAssert; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare (strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace VGirol\JsonApiAssert\Asserts\Content; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare (strict_types=1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace VGirol\JsonApiAssert\Asserts\Structure; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare (strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace VGirol\JsonApiAssert\Asserts\Structure; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare (strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace VGirol\JsonApiAssert\Asserts\Structure; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare (strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace VGirol\JsonApiAssert\Asserts\Structure; |
5 | 5 |