From be38a9c5e62f14a6ac4ad05aaf5019a6c808b4ed Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Sun, 13 Apr 2025 23:26:48 +0100 Subject: [PATCH] fix: add missing body to task not found exception --- src/Exceptions/TaskNotFoundException.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Exceptions/TaskNotFoundException.php b/src/Exceptions/TaskNotFoundException.php index 08bb07c..547dada 100644 --- a/src/Exceptions/TaskNotFoundException.php +++ b/src/Exceptions/TaskNotFoundException.php @@ -4,5 +4,8 @@ namespace Exceptions; class TaskNotFoundException extends \Exception { - + public function __construct(string $message = "Task not found.", int $code = 0, \Throwable $previous = null) + { + parent::__construct($message, $code, $previous); + } } \ No newline at end of file