mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Adding a default value to options param in JsEngine effect to avoid error in some php versions.
This commit is contained in:
parent
a04c87c42a
commit
9fe5f360eb
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ abstract class JsBaseEngineHelper extends AppHelper {
|
|||
* @param array $options Array of options for the effect.
|
||||
* @return string completed string with effect.
|
||||
*/
|
||||
abstract public function effect($name, $options);
|
||||
abstract public function effect($name, $options = array());
|
||||
|
||||
/**
|
||||
* Make an XHR request
|
||||
|
|
Loading…
Add table
Reference in a new issue