summaryrefslogtreecommitdiff
path: root/include/class.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/class.h')
-rw-r--r--include/class.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/class.h b/include/class.h
index 45bc236..c7ae32a 100644
--- a/include/class.h
+++ b/include/class.h
@@ -585,11 +585,11 @@ private:
/**
* Namespaces and the function have access to the private base class,
- * so that the classes can be registered (the function object needs
- * this to register the Functor class).
+ * so that the classes can be registered, and the Functor object needs
+ * this to register the PhpCpp::Functor class.
*/
friend class Namespace;
- friend class Function;
+ friend class Functor;
/**
* All Php::Class<AnyThing> also need access to the base class to