SuggestionController: fix phpcs complaint

This commit is contained in:
Thomas Gelf 2018-06-15 08:37:36 +02:00
parent 61f962c7d6
commit d53174391d
1 changed files with 6 additions and 0 deletions

View File

@ -188,8 +188,14 @@ class SuggestController extends ActionController
return $this->fetchTemplateNames('icinga_user');
}
/**
* @return array
* @throws \Icinga\Security\SecurityException
* @codingStandardsIgnoreStart
*/
protected function suggestScheduled_downtimetemplates()
{
// @codingStandardsIgnoreEnd
$this->assertPermission('director/scheduled-downtimes');
return $this->fetchTemplateNames('icinga_scheduled_downtime');
}