diff --git a/helpers.md b/helpers.md index 683b6ec2111..0f0f29f60b1 100644 --- a/helpers.md +++ b/helpers.md @@ -3072,7 +3072,7 @@ To invoke a callback more than once, you may specify the number of iterations th Benchmark::dd(fn () => User::count(), iterations: 10); // 0.5 ms ``` -Sometimes, you may want to benchmark the execution of a callback while still obtaining the value returned by the callback. The `value` method will return a tuple containing the value returned by the callback and the amount of milliseconds it took to execute the callback: +Sometimes, you may want to benchmark the execution of a callback while still obtaining the value returned by the callback. The `value` method will return a tuple containing the value returned by the callback and the number of milliseconds it took to execute the callback: ```php [$count, $duration] = Benchmark::value(fn () => User::count());