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…
Reference in New Issue