mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
ResourceConfigForm
: Fix return type for edit()
and remove()
methods
This commit is contained in:
parent
eff262cafd
commit
2eb3b6c405
@ -98,7 +98,7 @@ class ResourceConfigForm extends ConfigForm
|
||||
* @param string $name The name of the resource to edit
|
||||
* @param array $values The values to edit the configuration with
|
||||
*
|
||||
* @return array The edited configuration
|
||||
* @return ConfigObject The edited configuration
|
||||
*
|
||||
* @throws InvalidArgumentException In case the resource does not exist
|
||||
*/
|
||||
@ -134,7 +134,7 @@ class ResourceConfigForm extends ConfigForm
|
||||
*
|
||||
* @param string $name The name of the resource to remove
|
||||
*
|
||||
* @return array The removed resource configuration
|
||||
* @return ConfigObject The removed resource configuration
|
||||
*
|
||||
* @throws InvalidArgumentException In case the resource does not exist
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user