mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing magic method visibility on Helper.
This commit is contained in:
parent
a4cf737947
commit
958578c746
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class Helper {
|
||||||
* Default overload methods
|
* Default overload methods
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
protected function __call($method, $params) {
|
public function __call($method, $params) {
|
||||||
trigger_error(sprintf(__('Method %1$s::%2$s does not exist', true), get_class($this), $method), E_USER_WARNING);
|
trigger_error(sprintf(__('Method %1$s::%2$s does not exist', true), get_class($this), $method), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue