mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Changed the visibility to protected.
This commit is contained in:
parent
e4a1816557
commit
db80fe27e1
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ class App {
|
||||||
* @param boolean $parent whether to load the class parent or not
|
* @param boolean $parent whether to load the class parent or not
|
||||||
* @return boolean true indicating the successful load and existence of the class
|
* @return boolean true indicating the successful load and existence of the class
|
||||||
*/
|
*/
|
||||||
private static function _loadClass($name, $plugin, $type, $originalType, $parent) {
|
protected static function _loadClass($name, $plugin, $type, $originalType, $parent) {
|
||||||
if ($type == 'Console/Command' && $name == 'Shell') {
|
if ($type == 'Console/Command' && $name == 'Shell') {
|
||||||
$type = 'Console';
|
$type = 'Console';
|
||||||
} else if (isset(self::$types[$originalType]['suffix'])) {
|
} else if (isset(self::$types[$originalType]['suffix'])) {
|
||||||
|
|
Loading…
Reference in a new issue