Merge pull request #12667 from bancer/patch-3

Improve documentation
This commit is contained in:
Mark Story 2018-10-22 21:06:32 -04:00 committed by GitHub
commit 2acad7e94d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

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 bool|$class instance of ClassName. * @return bool|object $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) {

View file

@ -120,9 +120,9 @@ class View extends CakeObject {
public $view = null; public $view = null;
/** /**
* Name of layout to use with this View. * Name of layout to use with this View. If `false` then no layout is rendered.
* *
* @var string * @var string|bool
*/ */
public $layout = 'default'; public $layout = 'default';