From def82c5077bd4eff5ee1e3db8c447df122c89be4 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 30 Aug 2019 09:36:51 +0200 Subject: [PATCH] Remove reflect method form public interface The reflect method is (and should) only every be called internally. Since if you call it again it would otherwise start mixing and matching arguments etc. Signed-off-by: Roeland Jago Douma --- lib/public/AppFramework/Utility/IControllerMethodReflector.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/public/AppFramework/Utility/IControllerMethodReflector.php b/lib/public/AppFramework/Utility/IControllerMethodReflector.php index e2074b9fe005a..bc9a04f44cfbf 100644 --- a/lib/public/AppFramework/Utility/IControllerMethodReflector.php +++ b/lib/public/AppFramework/Utility/IControllerMethodReflector.php @@ -40,6 +40,7 @@ interface IControllerMethodReflector { * @param string $method the method which we want to inspect * @return void * @since 8.0.0 + * @deprecated 17.0.0 Reflect should not be called multiple times and only be used internally. This will be removed in Nextcloud 18 */ public function reflect($object, string $method);