Compiler Update php8.1
This commit is contained in:
		
							parent
							
								
									1175338af2
								
							
						
					
					
						commit
						6c35417c3e
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -174,6 +174,7 @@ class Number extends Node implements \ArrayAccess
 | 
			
		|||
    /**
 | 
			
		||||
     * {@inheritdoc}
 | 
			
		||||
     */
 | 
			
		||||
#[\ReturnTypeWillChange]	 
 | 
			
		||||
    public function offsetGet($offset)
 | 
			
		||||
    {
 | 
			
		||||
        switch ($offset) {
 | 
			
		||||
| 
						 | 
				
			
			@ -200,6 +201,7 @@ class Number extends Node implements \ArrayAccess
 | 
			
		|||
    /**
 | 
			
		||||
     * {@inheritdoc}
 | 
			
		||||
     */
 | 
			
		||||
#[\ReturnTypeWillChange]	 
 | 
			
		||||
    public function offsetSet($offset, $value)
 | 
			
		||||
    {
 | 
			
		||||
        if ($offset === 1) {
 | 
			
		||||
| 
						 | 
				
			
			@ -218,6 +220,7 @@ class Number extends Node implements \ArrayAccess
 | 
			
		|||
    /**
 | 
			
		||||
     * {@inheritdoc}
 | 
			
		||||
     */
 | 
			
		||||
#[\ReturnTypeWillChange]	 
 | 
			
		||||
    public function offsetUnset($offset)
 | 
			
		||||
    {
 | 
			
		||||
        if ($offset === 1) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@ class Scss extends \ScssPhp\ScssPhp\Compiler{
 | 
			
		|||
	 * Extend compileValue() so we can fix background:url(path)
 | 
			
		||||
	 *
 | 
			
		||||
	 */
 | 
			
		||||
    public function compileValue($value){
 | 
			
		||||
    public function compileValue($value , $quote = true){
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        if( !is_array($value) || $value[0] != \ScssPhp\ScssPhp\Type::T_FUNCTION || strtolower($value[1]) != 'url' ){
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue