Skip to content

Commit d273c83

Browse files
committed
<feature> Update php code doc for notifications
1 parent f139524 commit d273c83

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

Event/MessageListEvent.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,17 @@ class MessageListEvent extends ThemeEvent
3535
/**
3636
* MessageListEvent constructor.
3737
*
38-
* @param null $max
38+
* @param integer $max Maximun number of notifications displayed in panel
3939
*/
4040
public function __construct($max = NULL)
4141
{
4242
$this->max = $max;
4343
}
4444

4545
/**
46-
* @return null
46+
* Get the maximun number of notifications displayed in panel
47+
*
48+
* @return integer
4749
*/
4850
public function getMax()
4951
{

Event/NotificationListEvent.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,17 @@ class NotificationListEvent extends ThemeEvent
2828
/**
2929
* NotificationListEvent constructor.
3030
*
31-
* @param null $max
31+
* @param integer $max Maximun number of notifications displayed in panel
3232
*/
3333
public function __construct($max = NULL)
3434
{
3535
$this->max = $max;
3636
}
3737

3838
/**
39-
* @return null
39+
* Get the maximun number of notifications displayed in panel
40+
*
41+
* @return integer
4042
*/
4143
public function getMax()
4244
{

Event/TaskListEvent.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@ class TaskListEvent extends ThemeEvent
2020
/**
2121
* TaskListEvent constructor.
2222
*
23-
* @param $max
23+
* @param integer $max Maximun number of notifications displayed in panel
2424
*/
2525
public function __construct($max = NULL)
2626
{
2727
$this->max = $max;
2828
}
2929

3030
/**
31-
* @return mixed
31+
* Get the maximun number of notifications displayed in panel
32+
*
33+
* @return integer
3234
*/
3335
public function getMax()
3436
{

0 commit comments

Comments
 (0)