mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +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;
|
||||
|
||||
/**
|
||||
* Enable/disable features of the monitoring host
|
||||
* Enable/disable features of an Icinga instance
|
||||
*/
|
||||
abstract class ToggleFeature extends IcingaCommand
|
||||
{
|
||||
@ -21,7 +21,7 @@ abstract class ToggleFeature extends IcingaCommand
|
||||
/**
|
||||
* Enable the feature
|
||||
*
|
||||
* @return self
|
||||
* @return $this
|
||||
*/
|
||||
public function enable()
|
||||
{
|
||||
@ -32,7 +32,7 @@ abstract class ToggleFeature extends IcingaCommand
|
||||
/**
|
||||
* Disable the feature
|
||||
*
|
||||
* @return self
|
||||
* @return $this
|
||||
*/
|
||||
public function disable()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user