@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | public function callbackBefore(string $taskName): callable |
35 | 35 | { |
36 | - return function () use ($taskName) { |
|
36 | + return function() use ($taskName) { |
|
37 | 37 | \array_push($this->startTimeStack, $this->clock->microtime()); |
38 | 38 | $this->events->append(new TimerEvent(TimerEvent::TYPE_BEGIN, $taskName, $this->clock->microtime(), 0)); |
39 | 39 | }; |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | |
42 | 42 | public function callbackAfter(string $taskName): callable |
43 | 43 | { |
44 | - return function () use ($taskName) { |
|
44 | + return function() use ($taskName) { |
|
45 | 45 | $startTime = \array_pop($this->startTimeStack); |
46 | 46 | $duration = $this->clock->microtime() - $startTime; |
47 | 47 | $this->events->append( |