ExtensibleSet: fix phpcs complaint

This commit is contained in:
Thomas Gelf 2016-06-12 11:14:12 +02:00
parent f1b939d38d
commit 04a9a12d84
1 changed files with 4 additions and 0 deletions

View File

@ -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)) {