From f5b4769f6e1b84ba485bae686a64b1353a04ed75 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sun, 25 Feb 2018 17:44:46 +0100 Subject: [PATCH] ObjectsCommand: cleanup --- library/Director/Cli/ObjectsCommand.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/Director/Cli/ObjectsCommand.php b/library/Director/Cli/ObjectsCommand.php index 1015ba61..3e0844a6 100644 --- a/library/Director/Cli/ObjectsCommand.php +++ b/library/Director/Cli/ObjectsCommand.php @@ -2,7 +2,6 @@ namespace Icinga\Module\Director\Cli; -use Icinga\Module\Director\Cli\Command; use Icinga\Module\Director\Objects\IcingaObject; class ObjectsCommand extends Command @@ -87,6 +86,9 @@ class ObjectsCommand extends Command echo $this->renderJson($res, !$this->params->shift('no-pretty')); } + /** + * @return IcingaObject[] + */ protected function getObjects() { if ($this->objects === null) {