src/Micrometa/Infrastructure/Factory/MicroformatsFactory.php
protected static function createProperty(array $propertyValues)
    {
        return array_map(
            function($propertyValue) {
                if (is_array($propertyValue)) {
                    return isset($propertyValue['type']) ?
                        self::createItem($propertyValue) : self::tagLanguage($propertyValue);
                }

                return $propertyValue;
            },
            $propertyValues
        );
    }
protected static function createProperty(array $propertyValues)
    {
        return array_map(
            function($propertyValue) {
                if (is_array($propertyValue)) {
                    return isset($propertyValue['type']) ?
                        self::createItem($propertyValue) : self::tagLanguage($propertyValue);
                }

                return $propertyValue;
            },
            $propertyValues
        );
    }
protected static function createProperty ( array $ propertyValues ) { return array_map ( function ( $ propertyValue ) { if ( is_array ( $ propertyValue ) ) { return isset ( $ propertyValue [ 'type' ] ) ? self :: createItem ( $ propertyValue ) : self :: tagLanguage ( $ propertyValue ) ; } return $ propertyValue ; } , $ propertyValues ) ; }
Refine the item property values

@param array $propertyValues Property values

@return array Refined property values
Refine the item property values