mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-03 10:02:42 +00:00
Fix more strict errors.
This commit is contained in:
parent
17ffcde505
commit
a7fcb0a61c
4 changed files with 14 additions and 11 deletions
|
@ -666,7 +666,7 @@ class App {
|
|||
* @param boolean $return whether this function should return the contents of the file after being parsed by php or just a success notice
|
||||
* @return mixed if $return contents of the file after php parses it, boolean indicating success otherwise
|
||||
*/
|
||||
protected function _loadFile($name, $plugin, $search, $file, $return) {
|
||||
protected static function _loadFile($name, $plugin, $search, $file, $return) {
|
||||
$mapped = self::_mapped($name, $plugin);
|
||||
if ($mapped) {
|
||||
$file = $mapped;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue