diff --git a/lib/Cake/Utility/ClassRegistry.php b/lib/Cake/Utility/ClassRegistry.php index cd9049628..d7475a72b 100644 --- a/lib/Cake/Utility/ClassRegistry.php +++ b/lib/Cake/Utility/ClassRegistry.php @@ -300,7 +300,7 @@ class ClassRegistry { * * @param string $alias Alias to check. * @param string $class Class name. - * @return bool + * @return bool|object Object stored in registry or `false` if the object does not exist. */ protected function &_duplicate($alias, $class) { $duplicate = false;