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 f1f41b2 commit fbc9e7dCopy full SHA for fbc9e7d
src/ErrorController.php
@@ -22,10 +22,10 @@ class ErrorController extends FrontController
22
/**
23
* @accees public
24
* @param int $code
25
- * @param string $error
+ * @param ?string $error
26
* @param bool $render, Render error message
27
*/
28
- public function __construct(int $code = 404, string $error = null, bool $render = true)
+ public function __construct(int $code = 404, ?string $error = null, bool $render = true)
29
{
30
$message = $this->applyFilter('error-message', Response::getMessage($code));
31
0 commit comments