mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-07 05:59:35 -05:00
QuickForm: Make property $successUrl nullable and add phpDoc to setAction()
This commit is contained in:
parent
2efe54de1f
commit
52732dc3c7
1 changed files with 5 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ abstract class QuickForm extends QuickBaseForm
|
|||
protected $request;
|
||||
|
||||
/**
|
||||
* @var Url
|
||||
* @var ?Url
|
||||
*/
|
||||
protected $successUrl;
|
||||
|
||||
|
|
@ -252,6 +252,10 @@ abstract class QuickForm extends QuickBaseForm
|
|||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $action string|Url
|
||||
* @return $this
|
||||
*/
|
||||
public function setAction($action)
|
||||
{
|
||||
if ($action instanceof Url) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue