From 413a4f63ee69bb6419076a702c7187fbc44a9bf1 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Fri, 7 Jul 2023 11:47:27 +0200 Subject: [PATCH] OCP\Common\NotFoundException: Add param type Signed-off-by: Marcel Klehr (cherry picked from commit 397495346470bd78ff02d05e34c72ac2f2cbcb82) --- lib/public/Common/Exception/NotFoundException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/public/Common/Exception/NotFoundException.php b/lib/public/Common/Exception/NotFoundException.php index 309efe3e220..a2cd4db8634 100644 --- a/lib/public/Common/Exception/NotFoundException.php +++ b/lib/public/Common/Exception/NotFoundException.php @@ -35,7 +35,7 @@ class NotFoundException extends \Exception { * @param string $msg the error message * @since 28.0.0 */ - public function __construct($msg) { + public function __construct(string $msg) { parent::__construct($msg); } }