From caccecded641e1b018ff0a1611bd1a5eaecda593 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 23 Dec 2021 13:46:04 +0100 Subject: [PATCH] IcingaHost: ignore warning --- library/Director/Objects/IcingaHost.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/library/Director/Objects/IcingaHost.php b/library/Director/Objects/IcingaHost.php index f690b44a..ff8f1b2b 100644 --- a/library/Director/Objects/IcingaHost.php +++ b/library/Director/Objects/IcingaHost.php @@ -252,8 +252,14 @@ class IcingaHost extends IcingaObject implements ExportInterface $config->configFile($pre . 'agent_zones')->addObject($zone); } + /** + // @codingStandardsIgnoreStart + * @param $value + * @return string + */ protected function renderCustom_endpoint_name($value) { + // @codingStandardsIgnoreEnd // When feature flag feature_custom_endpoint is enabled, render custom var if ($this->connection->settings()->get('feature_custom_endpoint') === 'y') { return c::renderKeyValue('vars._director_custom_endpoint_name', c::renderString($value));