Skip to content

Commit 9f3f840

Browse files
committed
Groups should be an array
1 parent 003608e commit 9f3f840

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/Fixtures/TestBundle/Document/ContainNonResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* @ApiResource(
2727
* normalizationContext={
28-
* "groups"="contain_non_resource",
28+
* "groups"={"contain_non_resource"},
2929
* },
3030
* )
3131
*

tests/Fixtures/TestBundle/Document/DummyCar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* itemOperations={"get"={"swagger_context"={"tags"={}}, "openapi_context"={"tags"={}}}, "put", "delete"},
3030
* attributes={
3131
* "sunset"="2050-01-01",
32-
* "normalization_context"={"groups"="colors"}
32+
* "normalization_context"={"groups"={"colors"}}
3333
* }
3434
* )
3535
* @ODM\Document

tests/Fixtures/TestBundle/Entity/ContainNonResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* @ApiResource(
2727
* normalizationContext={
28-
* "groups"="contain_non_resource",
28+
* "groups"={"contain_non_resource"},
2929
* },
3030
* )
3131
*

tests/Fixtures/TestBundle/Entity/DummyCar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* itemOperations={"get"={"swagger_context"={"tags"={}}, "openapi_context"={"tags"={}}}, "put", "delete"},
3030
* attributes={
3131
* "sunset"="2050-01-01",
32-
* "normalization_context"={"groups"="colors"}
32+
* "normalization_context"={"groups"={"colors"}}
3333
* }
3434
* )
3535
* @ORM\Entity

0 commit comments

Comments
 (0)