Wizard: Fix throw exception

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 10:16:54 +02:00 committed by raviks789
parent 302bf3ef54
commit 5e671e02af
1 changed files with 1 additions and 1 deletions

View File

@ -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)
);