src/Decorator/Parser/Ansi.php
protected function end($codes = null)
    {
        if (empty($codes)) {
            $codes = [0];
        } else {
            $codes = Helper::toArray($codes);

            // Reset everything back to normal up front
            array_unshift($codes, 0);
        }

        return $this->wrapCodes($this->codeStr($codes));
    }
protected function end($codes = null)
    {
        if (empty($codes)) {
            $codes = [0];
        } else {
            $codes = Helper::toArray($codes);

            // Reset everything back to normal up front
            array_unshift($codes, 0);
        }

        return $this->wrapCodes($this->codeStr($codes));
    }
protected function end ( $ codes = null ) { if ( empty ( $ codes ) ) { $ codes = [ 0 ] ; } else { $ codes = Helper :: toArray ( $ codes ) ; // Reset everything back to normal up front array_unshift ( $ codes , 0 ) ; } return $ this -> wrapCodes ( $ this -> codeStr ( $ codes ) ) ; }
Get the string that ends the style

@param string|array $codes
@return string
Get the string that ends the style