Improve documentation

This commit is contained in:
Val Bancer 2018-10-22 10:02:51 +02:00 committed by GitHub
parent 2bdc04e53c
commit e825823e9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 bool|$class instance of ClassName.
* @return bool|object $class instance of ClassName.
* @throws CakeException when you try to construct an interface or abstract class.
*/
public static function init($class, $strict = false) {