From ccf914ac974683dc80f4a5c32b394dae7a60ccc8 Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Sat, 20 Apr 2024 11:59:14 +0200 Subject: [PATCH] QA: Add apidoc --- src/main/php/web/NotFound.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/php/web/NotFound.class.php b/src/main/php/web/NotFound.class.php index f95da364..74761388 100755 --- a/src/main/php/web/NotFound.class.php +++ b/src/main/php/web/NotFound.class.php @@ -3,6 +3,12 @@ class NotFound extends Error { public $path; + /** + * Creates a "Not Found" error + * + * @param string $path + * @param ?lang.Throwable $cause + */ public function __construct($path, $cause= null) { parent::__construct(404, 'Cannot find '.$path, $cause); $this->path= $path;