Skip to content

Commit 19e3818

Browse files
BFoucherlenybernard
authored andcommitted
fix new alert call
1 parent 154dfa6 commit 19e3818

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Helper/AlertifyHelper.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function alert($content, $type = 'success', $options = [])
4848
*/
4949
public function congrat($content, $options = [])
5050
{
51-
$this->alert('success', $content, $options);
51+
$this->alert($content, 'success', $options);
5252
}
5353

5454
/**
@@ -59,7 +59,7 @@ public function congrat($content, $options = [])
5959
*/
6060
public function warn($content, $options = [])
6161
{
62-
$this->alert('warning', $content, $options);
62+
$this->alert($content, 'warning', $options);
6363
}
6464

6565
/**
@@ -70,7 +70,7 @@ public function warn($content, $options = [])
7070
*/
7171
public function inform($content, $options = [])
7272
{
73-
$this->alert('info', $content, $options);
73+
$this->alert($content, 'info', $options);
7474
}
7575

7676
/**
@@ -81,6 +81,6 @@ public function inform($content, $options = [])
8181
*/
8282
public function scold($content, $options = [])
8383
{
84-
$this->alert('error', $content, $options);
84+
$this->alert($content, 'error', $options);
8585
}
8686
}

0 commit comments

Comments
 (0)