diff --git a/src/Tracker.php b/src/Tracker.php index c65219e..c27f084 100644 --- a/src/Tracker.php +++ b/src/Tracker.php @@ -259,7 +259,7 @@ public function indexErrorDocument($exception) public function getTrackerDisabled($type = true): bool { - if (App::runningInConsole() || Agent::isRobot()) { + if (App::runningInConsole() || (new Agent())->isRobot()) { return true; }