From 9bec54667dee8bf3caa6a1a0bbcaf9b2c9a041c3 Mon Sep 17 00:00:00 2001 From: Jacob Thomason Date: Sat, 15 Jul 2023 07:45:41 -0400 Subject: [PATCH] Use proper namespace --- lib/action/sfComponent.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/action/sfComponent.class.php b/lib/action/sfComponent.class.php index 3a572e25a..1d1675d8e 100644 --- a/lib/action/sfComponent.class.php +++ b/lib/action/sfComponent.class.php @@ -1,5 +1,7 @@ @@ -284,7 +286,7 @@ public function generateUrl($route, $params = array(), $absolute = false) * * @return sfUser The current sfUser implementation instance */ - public function getUser(): \PortalUser + public function getUser(): PortalUser { return $this->context->getUser(); }