mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
Widget
: Imported class AbstractWidget
The return type of static method `Widget::create()` is `AbstractWidget` instance. Hence it is imported in `Widget::class`.
This commit is contained in:
parent
1d8ce55262
commit
bf5aa41d63
@ -4,6 +4,7 @@
|
|||||||
namespace Icinga\Web;
|
namespace Icinga\Web;
|
||||||
|
|
||||||
use Icinga\Exception\ProgrammingError;
|
use Icinga\Exception\ProgrammingError;
|
||||||
|
use Icinga\Web\Widget\AbstractWidget;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Web widgets make things easier for you!
|
* Web widgets make things easier for you!
|
||||||
@ -29,7 +30,7 @@ class Widget
|
|||||||
* @param string $name Widget name
|
* @param string $name Widget name
|
||||||
* @param array $options Widget constructor options
|
* @param array $options Widget constructor options
|
||||||
*
|
*
|
||||||
* @return Icinga\Web\Widget\AbstractWidget
|
* @return AbstractWidget
|
||||||
*/
|
*/
|
||||||
public static function create($name, $options = array(), $module_name = null)
|
public static function create($name, $options = array(), $module_name = null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user