mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
Fix argument type hints
This commit is contained in:
parent
ffe84507f9
commit
a965b5c44b
@ -104,7 +104,7 @@ class AnnouncementCookie extends Cookie
|
|||||||
/**
|
/**
|
||||||
* Get the timestamp of the next active announcement
|
* Get the timestamp of the next active announcement
|
||||||
*
|
*
|
||||||
* @return int
|
* @return ?int
|
||||||
*/
|
*/
|
||||||
public function getNextActive()
|
public function getNextActive()
|
||||||
{
|
{
|
||||||
@ -114,11 +114,11 @@ class AnnouncementCookie extends Cookie
|
|||||||
/**
|
/**
|
||||||
* Set the timestamp of the next active announcement
|
* Set the timestamp of the next active announcement
|
||||||
*
|
*
|
||||||
* @param int $nextActive
|
* @param ?int $nextActive
|
||||||
*
|
*
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function setNextActive($nextActive)
|
public function setNextActive(?int $nextActive)
|
||||||
{
|
{
|
||||||
$this->nextActive = $nextActive;
|
$this->nextActive = $nextActive;
|
||||||
return $this;
|
return $this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user