Skip to content

Commit 430194c

Browse files
committed
Fix a warning
1 parent 682cefb commit 430194c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebApp/Component/Alert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Alert extends Container {
1515
protected $title;
1616
protected $description;
1717

18-
public function __construct($parent, $type = Alert::ERROR, $title, $description) {
18+
public function __construct($parent, $type = Alert::ERROR, $title = '', $description = '') {
1919
parent::__construct($parent);
2020
$this->type = $type;
2121
$this->title = $title;

0 commit comments

Comments
 (0)