Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
arutyunyan committed Mar 29, 2024
1 parent 5de5682 commit 4065c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ echo call_decorator_func_array([$calc, 'sum'], [1, 2]); // Total execution: 1.00
Or inline
```php
$timerOnSum = (new Timer)->wrapper(fn($a, $b) => $calc->sum($a, $b));
$this->assertSame('Total execution: 1.00034234 ms; Result: 3', $timerOnSum(1, 2));
echo $timerOnSum(1, 2); // Total execution: 1.00034234 ms; Result: 3
```

# Validation
Expand Down

0 comments on commit 4065c87

Please sign in to comment.