src/Helper/Styles.php
protected function fixInternalAttr(array $attr = null)
    {
        $attr = (array) $attr;

        $base = array(
            'type' => 'text/css',
            'media' => 'screen',
        );

        unset($attr['rel']);
        unset($attr['href']);

        return array_merge($base, (array) $attr);
    }
protected function fixInternalAttr(array $attr = null)
    {
        $attr = (array) $attr;

        $base = array(
            'type' => 'text/css',
            'media' => 'screen',
        );

        unset($attr['rel']);
        unset($attr['href']);

        return array_merge($base, (array) $attr);
    }
protected function fixInternalAttr ( array $ attr = null ) { $ attr = ( array ) $ attr ; $ base = array ( 'type' => 'text/css' , 'media' => 'screen' , ) ; unset ( $ attr [ 'rel' ] ) ; unset ( $ attr [ 'href' ] ) ; return array_merge ( $ base , ( array ) $ attr ) ; }
Fixes the attributes for the internal stylesheet.

@param array $attr Additional attributes for the <style> tag.

@return array

@access protected
Fixes the attributes for the internal stylesheet .