Skip to content

Commit 6ab00c9

Browse files
authored
Fix return type in Support/Benchmark (#56575)
1 parent bb5dfb5 commit 6ab00c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/Benchmark.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static function value(callable $callback): array
5858
* @param int $iterations
5959
* @return never
6060
*/
61-
public static function dd(Closure|array $benchmarkables, int $iterations = 1): void
61+
public static function dd(Closure|array $benchmarkables, int $iterations = 1): never
6262
{
6363
$result = (new Collection(static::measure(Arr::wrap($benchmarkables), $iterations)))
6464
->map(fn ($average) => number_format($average, 3).'ms')

0 commit comments

Comments
 (0)