mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 08:58:25 +00:00
Fixing incorrect exception type.
This commit is contained in:
parent
a6014cfd8d
commit
7b4ffa2ee9
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class ComponentCollection extends ObjectCollection {
|
|||
));
|
||||
}
|
||||
if (!class_exists($componentClass)) {
|
||||
throw new MissingComponentFileException(array(
|
||||
throw new MissingComponentClassException(array(
|
||||
'file' => Inflector::underscore($component) . '.php',
|
||||
'class' => $componentClass
|
||||
));
|
||||
|
|
Loading…
Add table
Reference in a new issue