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 682cefb commit 430194cCopy full SHA for 430194c
src/WebApp/Component/Alert.php
@@ -15,7 +15,7 @@ class Alert extends Container {
15
protected $title;
16
protected $description;
17
18
- public function __construct($parent, $type = Alert::ERROR, $title, $description) {
+ public function __construct($parent, $type = Alert::ERROR, $title = '', $description = '') {
19
parent::__construct($parent);
20
$this->type = $type;
21
$this->title = $title;
0 commit comments