diff --git a/src/Task.php b/src/Task.php index 36a3df2..9f0a7ef 100644 --- a/src/Task.php +++ b/src/Task.php @@ -46,7 +46,7 @@ namespace Negundo\Client { namespace { if (! function_exists('ntask') ) { function ntask(string $message, ? string $title = null, ? array $data) { - foreach (\Negundo\Task::$instances as $instance) { + foreach (\Negundo\Client\Task::$instances as $instance) { $instance->newReport($message, $title, $data); } }