@@ -70,7 +70,7 @@ public function testNormalizePaginator()
70
70
$ resourceMetadataFactoryProphecy ->create ('Foo ' )->willReturn (new ResourceMetadataCollection ('Foo ' , [
71
71
(new ApiResource ())
72
72
->withShortName ('Foo ' )
73
- ->withOperations (new Operations (['get ' => (new GetCollection ())]))
73
+ ->withOperations (new Operations (['get ' => (new GetCollection ())])),
74
74
]));
75
75
76
76
$ itemNormalizer = $ this ->prophesize (NormalizerInterface::class);
@@ -147,7 +147,7 @@ public function testNormalizePartialPaginator()
147
147
$ resourceMetadataFactoryProphecy ->create ('Foo ' )->willReturn (new ResourceMetadataCollection ('Foo ' , [
148
148
(new ApiResource ())
149
149
->withShortName ('Foo ' )
150
- ->withOperations (new Operations (['get ' => (new GetCollection ())]))
150
+ ->withOperations (new Operations (['get ' => (new GetCollection ())])),
151
151
]));
152
152
153
153
$ itemNormalizer = $ this ->prophesize (NormalizerInterface::class);
@@ -211,7 +211,7 @@ public function testNormalizeArray()
211
211
$ resourceMetadataFactoryProphecy ->create ('Foo ' )->willReturn (new ResourceMetadataCollection ('Foo ' , [
212
212
(new ApiResource ())
213
213
->withShortName ('Foo ' )
214
- ->withOperations (new Operations (['get ' => (new GetCollection ())]))
214
+ ->withOperations (new Operations (['get ' => (new GetCollection ())])),
215
215
]));
216
216
$ itemNormalizer = $ this ->prophesize (NormalizerInterface::class);
217
217
$ itemNormalizer ->normalize ('foo ' , CollectionNormalizer::FORMAT , [
@@ -268,7 +268,7 @@ public function testNormalizeIncludedData()
268
268
$ resourceMetadataFactoryProphecy ->create ('Foo ' )->willReturn (new ResourceMetadataCollection ('Foo ' , [
269
269
(new ApiResource ())
270
270
->withShortName ('Foo ' )
271
- ->withOperations (new Operations (['get ' => (new GetCollection ())]))
271
+ ->withOperations (new Operations (['get ' => (new GetCollection ())])),
272
272
]));
273
273
274
274
$ itemNormalizer = $ this ->prophesize (NormalizerInterface::class);
@@ -349,7 +349,7 @@ public function testNormalizeWithoutDataKey()
349
349
$ resourceMetadataFactoryProphecy ->create ('Foo ' )->willReturn (new ResourceMetadataCollection ('Foo ' , [
350
350
(new ApiResource ())
351
351
->withShortName ('Foo ' )
352
- ->withOperations (new Operations (['get ' => (new GetCollection ())]))
352
+ ->withOperations (new Operations (['get ' => (new GetCollection ())])),
353
353
]));
354
354
355
355
$ itemNormalizer = $ this ->prophesize (NormalizerInterface::class);
0 commit comments