@@ -93,7 +93,7 @@ |
||
93 | 93 | |
94 | 94 | /** |
95 | 95 | * @param string $property |
96 | - * @param mixed $value |
|
96 | + * @param integer $value |
|
97 | 97 | */ |
98 | 98 | protected function setPayload($property, $value) |
99 | 99 | { |
@@ -58,14 +58,14 @@ |
||
58 | 58 | ->given($event = new IncrementCounterEvent(3)) |
59 | 59 | ->then() |
60 | 60 | ->array($event->toArray()) |
61 | - ->child['metadata'](function ($metadata) { |
|
61 | + ->child['metadata'](function($metadata) { |
|
62 | 62 | $metadata |
63 | 63 | ->hasKey('occurredOn') |
64 | 64 | ->string['eventType'] |
65 | 65 | ->isEqualTo(IncrementCounterEvent::class) |
66 | 66 | ; |
67 | 67 | }) |
68 | - ->child['payload'](function ($payload) { |
|
68 | + ->child['payload'](function($payload) { |
|
69 | 69 | $payload |
70 | 70 | ->isEqualTo(array( |
71 | 71 | 'step' => 3, |