| @@ -87,7 +87,7 @@ discard block | ||
| 87 | 87 |      { | 
| 88 | 88 | $events = array_filter( | 
| 89 | 89 | $this->getEvents(), | 
| 90 | -            static function (array $event) use ($from, $to): bool { | |
| 90 | +            static function(array $event) use ($from, $to): bool { | |
| 91 | 91 | return in_array($event[1], [$from, $to], true); | 
| 92 | 92 | } | 
| 93 | 93 | ); | 
| @@ -96,10 +96,10 @@ discard block | ||
| 96 | 96 |              throw new InvalidArgumentException('Unable to find the events.'); | 
| 97 | 97 | } | 
| 98 | 98 | |
| 99 | -        $fromKey = $this->arrayFind($events, static function (array $event) use ($from): bool { | |
| 99 | +        $fromKey = $this->arrayFind($events, static function(array $event) use ($from): bool { | |
| 100 | 100 | return $event[1] === $from; | 
| 101 | 101 | }); | 
| 102 | -        $toKey = $this->arrayFind($events, static function (array $event) use ($to): bool { | |
| 102 | +        $toKey = $this->arrayFind($events, static function(array $event) use ($to): bool { | |
| 103 | 103 | return $event[1] === $to; | 
| 104 | 104 | }); | 
| 105 | 105 | |
| @@ -113,7 +113,7 @@ discard block | ||
| 113 | 113 | array_shift($events); | 
| 114 | 114 | |
| 115 | 115 | $events = array_map( | 
| 116 | -            static function (array $event): TimeInterface { | |
| 116 | +            static function(array $event): TimeInterface { | |
| 117 | 117 | return $event[0]; | 
| 118 | 118 | }, | 
| 119 | 119 | $events | 
| @@ -160,7 +160,7 @@ discard block | ||
| 160 | 160 | |
| 161 | 161 | $events = array_filter( | 
| 162 | 162 | $events, | 
| 163 | -            static function (array $event) use ($id): bool { | |
| 163 | +            static function(array $event) use ($id): bool { | |
| 164 | 164 | return $event[1] === $id; | 
| 165 | 165 | } | 
| 166 | 166 | ); | 
| @@ -207,7 +207,7 @@ discard block | ||
| 207 | 207 | return null !== $this | 
| 208 | 208 | ->arrayFind( | 
| 209 | 209 | $this->getEvents(), | 
| 210 | -                static function (array $v): bool { | |
| 210 | +                static function(array $v): bool { | |
| 211 | 211 | return 'start' === $v[1]; | 
| 212 | 212 | } | 
| 213 | 213 | ); | 
| @@ -218,7 +218,7 @@ discard block | ||
| 218 | 218 | return null !== $this | 
| 219 | 219 | ->arrayFind( | 
| 220 | 220 | $this->getEvents(), | 
| 221 | -                static function (array $v): bool { | |
| 221 | +                static function(array $v): bool { | |
| 222 | 222 | return 'stop' === $v[1]; | 
| 223 | 223 | } | 
| 224 | 224 | ); | 
| @@ -69,7 +69,7 @@ | ||
| 69 | 69 | |
| 70 | 70 | public function run(): BenchmarkInterface | 
| 71 | 71 |      { | 
| 72 | - [,$return,] = iterator_to_array($this->benchRunner()); | |
| 72 | + [,$return, ] = iterator_to_array($this->benchRunner()); | |
| 73 | 73 | |
| 74 | 74 | $this->return = $return; | 
| 75 | 75 | |