mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
Fix warning "references should be passed by variable only"
This commit is contained in:
parent
08d259eccf
commit
8f79e0a713
@ -326,7 +326,8 @@ class Wizard
|
|||||||
*/
|
*/
|
||||||
protected function isLastPage(Form $page)
|
protected function isLastPage(Form $page)
|
||||||
{
|
{
|
||||||
return $page->getName() === end($this->getPages())->getName();
|
$pages = $this->getPages();
|
||||||
|
return $page->getName() === end($pages)->getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user