[icinga-checkins] icinga.org: icingaweb2-module-director/master: ExtensibleSet: fix phpcs complaint

git at icinga.org git at icinga.org
Mon Jun 13 17:21:30 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: 04a9a12d846ea12aef905cf8be21bdc17b0f91c6
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=04a9a12d846ea12aef905cf8be21bdc17b0f91c6

Author: Thomas Gelf <thomas at gelf.net>
Date:   Sun Jun 12 11:14:12 2016 +0200

ExtensibleSet: fix phpcs complaint

---

 library/Director/Web/Form/Element/ExtensibleSet.php |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/library/Director/Web/Form/Element/ExtensibleSet.php b/library/Director/Web/Form/Element/ExtensibleSet.php
index 1d252af..38e28d0 100644
--- a/library/Director/Web/Form/Element/ExtensibleSet.php
+++ b/library/Director/Web/Form/Element/ExtensibleSet.php
@@ -30,8 +30,12 @@ class ExtensibleSet extends FormElement
         return $value;
     }
 
+    /**
+     * @codingStandardsIgnoreStart
+     */
     protected function _filterValue(&$value, &$key)
     {
+        // @codingStandardsIgnoreEnd
         if (is_array($value)) {
             $value = array_filter($value, 'strlen');
         } elseif (is_string($value) && !strlen($value)) {



More information about the icinga-checkins mailing list