We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9cfbd8 commit 7e44063Copy full SHA for 7e44063
src/Exceptions/MethodNotAllowedException.php
@@ -23,6 +23,7 @@ class MethodNotAllowedException extends Exception
23
public function __construct(string $reason, $message = 'Method Not Allowed')
24
{
25
$this->reason = $reason;
26
- parent::__construct($message);
+
27
+ parent::__construct($message ? "$message: $reason" : $reason);
28
}
29
0 commit comments