mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 14:24:41 +02:00
Wizard: Fix throw exception
This commit is contained in:
parent
302bf3ef54
commit
5e671e02af
@ -155,7 +155,7 @@ class Wizard
|
||||
public function addPage($page)
|
||||
{
|
||||
if (! $page instanceof Form && ! $page instanceof self) {
|
||||
throw InvalidArgumentException(
|
||||
throw new InvalidArgumentException(
|
||||
'The $page argument must be an instance of Icinga\Web\Form '
|
||||
. 'or Icinga\Web\Wizard but is of type: ' . get_class($page)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user