@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | ) |
58 | 58 | ) |
59 | 59 | ->then() |
60 | - ->exception(function () use ($post) { |
|
60 | + ->exception(function() use ($post) { |
|
61 | 61 | $post->remove(); |
62 | 62 | })->isInstanceOf(\BadMethodCallException::class) |
63 | 63 | ; |
@@ -175,16 +175,16 @@ discard block |
||
175 | 175 | ->array($post->recordedEvents()) |
176 | 176 | ->hasSize(2) |
177 | 177 | ->and() |
178 | - ->exception(function () use ($post) { |
|
178 | + ->exception(function() use ($post) { |
|
179 | 179 | $post->changeTitle(''); |
180 | 180 | })->isInstanceOf(ValidationException::class) |
181 | - ->exception(function () use ($post) { |
|
181 | + ->exception(function() use ($post) { |
|
182 | 182 | $post->changeTitle(10); |
183 | 183 | })->isInstanceOf(ValidationException::class) |
184 | 184 | ; |
185 | 185 | |
186 | 186 | $this |
187 | - ->exception(function () { |
|
187 | + ->exception(function() { |
|
188 | 188 | PostEventSourcedFactory::create('', $this->faker->paragraph); |
189 | 189 | })->isInstanceOf(ValidationException::class) |
190 | 190 | ; |