mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-22 06:47:19 +00:00
Merge pull request #5759 from tgskiv/patch-1
Let IDE work better with ClassRegistry::init()
This commit is contained in:
commit
820d572139
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class ClassRegistry {
|
|||
* stored in the registry and returned.
|
||||
* @param bool $strict if set to true it will return false if the class was not found instead
|
||||
* of trying to create an AppModel
|
||||
* @return object instance of ClassName.
|
||||
* @return $class instance of ClassName.
|
||||
* @throws CakeException when you try to construct an interface or abstract class.
|
||||
*/
|
||||
public static function init($class, $strict = false) {
|
||||
|
|
Loading…
Reference in a new issue