@@ -172,11 +172,11 @@ discard block |
||
| 172 | 172 | $contextualModelTransformer |
| 173 | 173 | ->transform(new \stdClass(), 'SomeClass', $context) |
| 174 | 174 | ->shouldBeCalled() |
| 175 | - ->willReturn((object)['a' => 1]); |
|
| 175 | + ->willReturn((object) ['a' => 1]); |
|
| 176 | 176 | |
| 177 | 177 | $this |
| 178 | 178 | ->transform(new \stdClass(), 'SomeClass', $context) |
| 179 | - ->shouldBeLike((object)['a' => 1]); |
|
| 179 | + ->shouldBeLike((object) ['a' => 1]); |
|
| 180 | 180 | } |
| 181 | 181 | |
| 182 | 182 | function it_should_not_pass_context_during_transformation_to_model_transformer( |
@@ -194,11 +194,11 @@ discard block |
||
| 194 | 194 | $modelTransformer |
| 195 | 195 | ->transform(new \stdClass(), 'SomeClass') |
| 196 | 196 | ->shouldBeCalled() |
| 197 | - ->willReturn((object)['a' => 1]); |
|
| 197 | + ->willReturn((object) ['a' => 1]); |
|
| 198 | 198 | |
| 199 | 199 | $this |
| 200 | 200 | ->transform(new \stdClass(), 'SomeClass', $context) |
| 201 | - ->shouldBeLike((object)['a' => 1]); |
|
| 201 | + ->shouldBeLike((object) ['a' => 1]); |
|
| 202 | 202 | } |
| 203 | 203 | |
| 204 | 204 | |
@@ -217,14 +217,14 @@ discard block |
||
| 217 | 217 | |
| 218 | 218 | $supportedModelTransformer |
| 219 | 219 | ->transform(new \stdClass(), 'SomeClass') |
| 220 | - ->willReturn((object)['a' => 1]); |
|
| 220 | + ->willReturn((object) ['a' => 1]); |
|
| 221 | 221 | |
| 222 | 222 | $this->addModelTransformer($notSupportedModelTransformer); |
| 223 | 223 | $this->addModelTransformer($supportedModelTransformer); |
| 224 | 224 | |
| 225 | 225 | $this |
| 226 | 226 | ->transform(new \stdClass(), 'SomeClass') |
| 227 | - ->shouldBeLike((object)['a' => 1]); |
|
| 227 | + ->shouldBeLike((object) ['a' => 1]); |
|
| 228 | 228 | } |
| 229 | 229 | |
| 230 | 230 | public function it_should_pass_context_to_contextual_model_transformer( |