Skip to content

Commit

Permalink
Corona: Add default message for NotImplementedException
Browse files Browse the repository at this point in the history
  • Loading branch information
pprkut committed Aug 16, 2024
1 parent 18cf690 commit b665654
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Lunr/Corona/Exceptions/NotImplementedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ class NotImplementedException extends HttpException
/**
* Constructor.
*
* @param string|null $message Error message
* @param string $message Error message
* @param int $app_code Application error code
* @param Exception|null $previous The previously thrown exception
*/
public function __construct(?string $message = NULL, int $app_code = 0, Exception $previous = NULL)
public function __construct(string $message = 'Not implemented!', int $app_code = 0, Exception $previous = NULL)
{
parent::__construct($message, HttpCode::NOT_IMPLEMENTED, $app_code, $previous);
}
Expand Down

0 comments on commit b665654

Please sign in to comment.