mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
Tab
: Fix type of property $url
`$url` can either be a string or `Icinga\Web\Url` instance.
This commit is contained in:
parent
3b707fb6ab
commit
daddfe11b5
@ -14,7 +14,7 @@ use Icinga\Web\Url;
|
||||
* @property string $title Tab title
|
||||
* @property string $icon Icon URL, preferrably relative to the Icinga
|
||||
* base URL
|
||||
* @property string $url Action URL, preferrably relative to the Icinga
|
||||
* @property string|URL $url Action URL, preferrably relative to the Icinga
|
||||
* base URL
|
||||
* @property string $urlParams Action URL Parameters
|
||||
*
|
||||
@ -52,7 +52,7 @@ class Tab extends AbstractWidget
|
||||
/**
|
||||
* The Url this tab points to
|
||||
*
|
||||
* @var string|null
|
||||
* @var Url|null
|
||||
*/
|
||||
private $url = null;
|
||||
|
||||
@ -172,7 +172,7 @@ class Tab extends AbstractWidget
|
||||
/**
|
||||
* Set the Url this tab points to
|
||||
*
|
||||
* @param string $url The Url to use for this tab
|
||||
* @param string|Url $url The Url to use for this tab
|
||||
*/
|
||||
public function setUrl($url)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user