Skip to content

Commit f139524

Browse files
committed
<feature> Update all the events using max notifications. Related to PR #191
1 parent 93a20db commit f139524

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Event/MessageListEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class MessageListEvent extends ThemeEvent
3737
*
3838
* @param null $max
3939
*/
40-
public function __construct($max)
40+
public function __construct($max = NULL)
4141
{
4242
$this->max = $max;
4343
}

Event/NotificationListEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class NotificationListEvent extends ThemeEvent
3030
*
3131
* @param null $max
3232
*/
33-
public function __construct($max = null)
33+
public function __construct($max = NULL)
3434
{
3535
$this->max = $max;
3636
}

Event/TaskListEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class TaskListEvent extends ThemeEvent
2222
*
2323
* @param $max
2424
*/
25-
public function __construct($max)
25+
public function __construct($max = NULL)
2626
{
2727
$this->max = $max;
2828
}

0 commit comments

Comments
 (0)