From 7e1fef40661ec470410fc885b47a8e6eceb02a1d Mon Sep 17 00:00:00 2001 From: bancer Date: Mon, 6 May 2019 14:21:24 +0200 Subject: [PATCH] Improve doc block --- lib/Cake/Utility/ClassRegistry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;