Merge pull request #12656 from bancer/patch-2

Improve documentation
This commit is contained in:
Mark Story 2018-10-19 20:42:21 +00:00 committed by GitHub
commit 240ae93b68
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 $class instance of ClassName.
* @return bool|$class instance of ClassName.
* @throws CakeException when you try to construct an interface or abstract class.
*/
public static function init($class, $strict = false) {