Improve documentation

This commit is contained in:
Val Bancer 2018-10-19 16:45:21 +02:00 committed by GitHub
parent 5b57a1e926
commit 8e8fbae78c
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. * stored in the registry and returned.
* @param bool $strict if set to true it will return false if the class was not found instead * @param bool $strict if set to true it will return false if the class was not found instead
* of trying to create an AppModel * of trying to create an AppModel
* @return $class instance of ClassName. * @return boolean|$class instance of ClassName.
* @throws CakeException when you try to construct an interface or abstract class. * @throws CakeException when you try to construct an interface or abstract class.
*/ */
public static function init($class, $strict = false) { public static function init($class, $strict = false) {