]> source.dussan.org Git - nextcloud-server.git/commitdiff
OCP\Common\NotFoundException: Add param type
authorMarcel Klehr <mklehr@gmx.net>
Fri, 7 Jul 2023 09:47:27 +0000 (11:47 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 9 Aug 2023 08:02:11 +0000 (10:02 +0200)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 397495346470bd78ff02d05e34c72ac2f2cbcb82)

lib/public/Common/Exception/NotFoundException.php

index 309efe3e22062ba4c854db32589e64b317c33e29..a2cd4db86347bbab8c302d30eb7ad2e110fecf41 100644 (file)
@@ -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);
        }
 }