* [misc] Parameter names can only contain letters and numbers.

This commit is contained in:
liugang
2025-11-18 14:58:09 +08:00
parent 8976e7c8bd
commit 72fa47f3ee
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ class diff extends baseDelegate
{
protected static $className = 'GorHill\FineDiff\FineDiff';
public function __construct($from_text = '', $to_text = '', $granularityStack = null)
public function __construct($from = '', $to = '', $granularityStack = null)
{
$this->instance = new static::$className($from_text, $to_text, $granularityStack);
$this->instance = new static::$className($from, $to, $granularityStack);
}
}
+2 -2
View File
@@ -17,8 +17,8 @@ class pclzip extends baseDelegate
{
protected static $className = 'Vendor\PclZip\PclZip';
public function __construct($p_zipname)
public function __construct($zipname)
{
$this->instance = new static::$className($p_zipname);
$this->instance = new static::$className($zipname);
}
}