private static function filterStringValue($carry, $item) { if (!is_string($item)) { return false; } return $carry; }