ExtensibleSet: fix phpcs complaint
This commit is contained in:
parent
f1b939d38d
commit
04a9a12d84
|
@ -30,8 +30,12 @@ class ExtensibleSet extends FormElement
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @codingStandardsIgnoreStart
|
||||||
|
*/
|
||||||
protected function _filterValue(&$value, &$key)
|
protected function _filterValue(&$value, &$key)
|
||||||
{
|
{
|
||||||
|
// @codingStandardsIgnoreEnd
|
||||||
if (is_array($value)) {
|
if (is_array($value)) {
|
||||||
$value = array_filter($value, 'strlen');
|
$value = array_filter($value, 'strlen');
|
||||||
} elseif (is_string($value) && !strlen($value)) {
|
} elseif (is_string($value) && !strlen($value)) {
|
||||||
|
|
Loading…
Reference in New Issue