feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
310 changed files with 798 additions and 11848 deletions
Showing only changes of commit dd42c12d49 - Show all commits

View File

@ -16,7 +16,6 @@ class Benchmark
echo implode(PHP_EOL, self::$queue), PHP_EOL; echo implode(PHP_EOL, self::$queue), PHP_EOL;
self::$queue = []; self::$queue = [];
} }
public static function execute(callable $callback, ?array $args = null, ?string $description = null): mixed public static function execute(callable $callback, ?array $args = null, ?string $description = null): mixed
{ {
if (null === $description) { if (null === $description) {
@ -36,7 +35,6 @@ class Benchmark
self::$queue[$i] .= sprintf(" in %.2f seconds", $end - $start); self::$queue[$i] .= sprintf(" in %.2f seconds", $end - $start);
return $result; return $result;
} }
public static function getCallableName(callable $callable): string public static function getCallableName(callable $callable): string
{ {
return match (true) { return match (true) {