diff --git a/Command.php b/Command.php index a37b29e..5310dc8 100644 --- a/Command.php +++ b/Command.php @@ -127,7 +127,7 @@ class Command extends Component */ private function print_r($time): string { - return print_r([$this->sql, $this->params], true) . (microtime(true) - $time); + return print_r(['time' => microtime(true) - $time, 'sql' => $this->sql, 'param' => $this->params], true); }