Skip to content

Commit

Permalink
Use proper namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
oojacoboo committed Jul 15, 2023
1 parent 05f546c commit 9bec546
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/action/sfComponent.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Rentpost\Bridge\Symfony1\PortalUser;

/*
* This file is part of the symfony package.
* (c) 2004-2006 Fabien Potencier <[email protected]>
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit 9bec546

Please sign in to comment.