Skip to content

Commit a43ecfe

Browse files
committed
Fixed PhpStan issue findinf user var type
1 parent c4df7fa commit a43ecfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Manager/DoctrineUserManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public function get(string $class, string $id)
6565
*/
6666
public function getClass($user): string
6767
{
68+
/** @var object $user */
6869
/** @var class-string $class */
6970
$class = ClassUtils::getClass($user);
7071

0 commit comments

Comments
 (0)