`MonitoringWizard`: Fix type for parameter `$page` of method `setupPage()`

The `$page` parameter for `Icinga\Module\Monitoring\MonitoringWizard::setupPage()` can also be
`Icinga\Module\Setup\Forms\RequirementsPage` or `Icinga\Module\Setup\Forms\SummaryPage`.
This commit is contained in:
raviks789 2023-08-14 15:13:40 +02:00
parent 209bf62a56
commit 3d61fe6bf2
1 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
namespace Icinga\Module\Monitoring;
use Icinga\Module\Setup\Forms\RequirementsPage;
use Icinga\Web\Form;
use Icinga\Web\Wizard;
use Icinga\Web\Request;
@ -36,8 +37,8 @@ class MonitoringWizard extends Wizard implements SetupWizard
/**
* Setup the given page that is either going to be displayed or validated
*
* @param Form $page The page to setup
* @param Request $request The current request
* @param Form|RequirementsPage|SummaryPage $page The page to setup
* @param Request $request The current request
*/
public function setupPage(Form $page, Request $request)
{