mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
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:
parent
209bf62a56
commit
3d61fe6bf2
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
namespace Icinga\Module\Monitoring;
|
namespace Icinga\Module\Monitoring;
|
||||||
|
|
||||||
|
use Icinga\Module\Setup\Forms\RequirementsPage;
|
||||||
use Icinga\Web\Form;
|
use Icinga\Web\Form;
|
||||||
use Icinga\Web\Wizard;
|
use Icinga\Web\Wizard;
|
||||||
use Icinga\Web\Request;
|
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
|
* Setup the given page that is either going to be displayed or validated
|
||||||
*
|
*
|
||||||
* @param Form $page The page to setup
|
* @param Form|RequirementsPage|SummaryPage $page The page to setup
|
||||||
* @param Request $request The current request
|
* @param Request $request The current request
|
||||||
*/
|
*/
|
||||||
public function setupPage(Form $page, Request $request)
|
public function setupPage(Form $page, Request $request)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user