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

refs 
This commit is contained in:
Eric Lippmann 2014-09-01 10:29:34 +02:00
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()
{