mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
Fix PHP 7.4 deprecation warning, also: exception string formatting
This commit is contained in:
parent
f6feccb8fa
commit
baa47d28c8
1 changed files with 2 additions and 2 deletions
|
@ -5378,7 +5378,7 @@ class Less_Tree_Dimension extends Less_Tree{
|
|||
$other = $other->convertTo( $this->unit->usedUnits());
|
||||
|
||||
if( Less_Parser::$options['strictUnits'] && $other->unit->toString() !== $unit->toCSS() ){
|
||||
throw new Less_Exception_Compiler("Incompatible units. Change the units or use the unit function. Bad units: '".$unit->toString() . "' and ".$other->unit->toString()+"'.");
|
||||
throw new Less_Exception_Compiler("Incompatible units. Change the units or use the unit function. Bad units: '".$unit->toString()."' and '".$other->unit->toString()."'.");
|
||||
}
|
||||
|
||||
$value = Less_Functions::operate( $op, $this->value, $other->value);
|
||||
|
@ -10524,4 +10524,4 @@ class Less_SourceMap_Generator extends Less_Configurable {
|
|||
return $path;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue