diff --git a/lib/Cake/Utility/ClassRegistry.php b/lib/Cake/Utility/ClassRegistry.php index 4428e119f..cd9049628 100644 --- a/lib/Cake/Utility/ClassRegistry.php +++ b/lib/Cake/Utility/ClassRegistry.php @@ -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) { diff --git a/lib/Cake/View/View.php b/lib/Cake/View/View.php index 91776ad9a..47e9530f2 100644 --- a/lib/Cake/View/View.php +++ b/lib/Cake/View/View.php @@ -120,9 +120,9 @@ class View extends CakeObject { 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';