mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
ExtensibleSet: fix phpcs complaint
This commit is contained in:
parent
f1b939d38d
commit
04a9a12d84
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user