@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $notExpectedMembers = array_keys( |
63 | 63 | array_filter( |
64 | 64 | $cleanExpected, |
65 | - function ($value) { |
|
65 | + function($value) { |
|
66 | 66 | return $value === false; |
67 | 67 | } |
68 | 68 | ) |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | // Extracts expected members |
75 | 75 | $expectedMembers = array_filter( |
76 | 76 | $cleanExpected, |
77 | - function ($value) { |
|
77 | + function($value) { |
|
78 | 78 | return $value !== false; |
79 | 79 | } |
80 | 80 | ); |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | // Extracts members whose value have to be tested |
86 | 86 | $expectedValues = array_filter( |
87 | 87 | $expectedMembers, |
88 | - function ($value) { |
|
88 | + function($value) { |
|
89 | 89 | return $value !== true; |
90 | 90 | } |
91 | 91 | ); |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace VGirol\JsonApiAssert\Constraint; |
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\Constraint; |
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; |
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; |
5 | 5 |
@@ -73,7 +73,6 @@ |
||
73 | 73 | * "data", "errors", "meta", "jsonapi", "links", "included" (@see assertContainsOnlyAllowedMembers). |
74 | 74 | * 4) if the json document does not contain a top-level "data" member, the "included" member must not |
75 | 75 | * be present either. |
76 | - |
|
77 | 76 | * @param array $json |
78 | 77 | * |
79 | 78 | * @return void |