mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +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)) {
|
if (!class_exists($componentClass)) {
|
||||||
throw new MissingComponentFileException(array(
|
throw new MissingComponentClassException(array(
|
||||||
'file' => Inflector::underscore($component) . '.php',
|
'file' => Inflector::underscore($component) . '.php',
|
||||||
'class' => $componentClass
|
'class' => $componentClass
|
||||||
));
|
));
|
||||||
|
|
Loading…
Add table
Reference in a new issue