mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
monitoring/commands: ToggleFeature: Use 'return $this' for documenting fluent interfaces
refs #6593
This commit is contained in:
parent
a01ee00c27
commit
57dd9a699e
@ -7,7 +7,7 @@ namespace Icinga\Module\Monitoring\Command\Common;
|
|||||||
use Icinga\Module\Monitoring\Command\IcingaCommand;
|
use Icinga\Module\Monitoring\Command\IcingaCommand;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable/disable features of the monitoring host
|
* Enable/disable features of an Icinga instance
|
||||||
*/
|
*/
|
||||||
abstract class ToggleFeature extends IcingaCommand
|
abstract class ToggleFeature extends IcingaCommand
|
||||||
{
|
{
|
||||||
@ -21,7 +21,7 @@ abstract class ToggleFeature extends IcingaCommand
|
|||||||
/**
|
/**
|
||||||
* Enable the feature
|
* Enable the feature
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function enable()
|
public function enable()
|
||||||
{
|
{
|
||||||
@ -32,7 +32,7 @@ abstract class ToggleFeature extends IcingaCommand
|
|||||||
/**
|
/**
|
||||||
* Disable the feature
|
* Disable the feature
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function disable()
|
public function disable()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user