Merge pull request #5759 from tgskiv/patch-1

Let IDE work better with ClassRegistry::init()
This commit is contained in:
Mark Story 2015-01-27 15:11:35 -05:00
commit 820d572139

View file

@ -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) {