This commit is contained in:
as2252258@163.com
2021-03-26 01:34:40 +08:00
parent c6a016dc5a
commit bc773a024d
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -200,8 +200,8 @@ class Crontab extends BaseObject
public function execute(): void
{
try {
$result = call_user_func($this->handler, $this->params, $this->name);
var_dump($result);
// $result = call_user_func($this->handler, $this->params, $this->name);
var_dump(($this->handler)($this->params, $this->name));
} catch (\Throwable $throwable) {
$this->addError($throwable->getMessage());
} finally {