aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Minz/Exception.php')
-rw-r--r--lib/Minz/Exception.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Minz/Exception.php b/lib/Minz/Exception.php
index 283b28f4e..c8c85912d 100644
--- a/lib/Minz/Exception.php
+++ b/lib/Minz/Exception.php
@@ -2,9 +2,9 @@
declare(strict_types=1);
class Minz_Exception extends Exception {
- const ERROR = 0;
- const WARNING = 10;
- const NOTICE = 20;
+ public const ERROR = 0;
+ public const WARNING = 10;
+ public const NOTICE = 20;
public function __construct(string $message = '', int $code = self::ERROR, ?Throwable $previous = null) {
if ($code !== Minz_Exception::ERROR