monitoring/commands: ToggleFeature: Use 'return $this' for documenting fluent interfaces

refs #6593
This commit is contained in:
Eric Lippmann 2014-09-01 10:29:34 +02:00
parent a01ee00c27
commit 57dd9a699e

View File

@ -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()
{ {