From 2a2fd6d7c8dd78e0a5d5a84bc29bd32ff45fcc91 Mon Sep 17 00:00:00 2001 From: Alan Tygel Date: Fri, 20 Jan 2017 12:46:46 -0300 Subject: [PATCH] Explicitly type $userManager Hi, I'm getting started on NC apps. On my app, the dependency injection only worked after declaring the type of UserManager explicitly. I'm not 100% sure, but it worked here. best, alan --- developer_manual/app/hooks.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/developer_manual/app/hooks.rst b/developer_manual/app/hooks.rst index b3aeb9a25..59a36c7b1 100644 --- a/developer_manual/app/hooks.rst +++ b/developer_manual/app/hooks.rst @@ -48,12 +48,13 @@ The hook logic should be in a separate class that is being registered in the :do userManager = $userManager; }