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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Exception.php b/lib/Minz/Exception.php
index b5e71e0d8..f2d3b876b 100644
--- a/lib/Minz/Exception.php
+++ b/lib/Minz/Exception.php
@@ -4,7 +4,7 @@ class Minz_Exception extends Exception {
const WARNING = 10;
const NOTICE = 20;
- public function __construct ($message, $code = self::ERROR) {
+ public function __construct(string $message, int $code = self::ERROR) {
if ($code != Minz_Exception::ERROR
&& $code != Minz_Exception::WARNING
&& $code != Minz_Exception::NOTICE) {