* [misc] Parameter names can only contain letters and numbers.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user