Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca8b843

Browse filesBrowse files
committed
Only using getClass() where I actually need a class. Fixes a recursive issue
1 parent 4d6d41d commit ca8b843
Copy full SHA for ca8b843

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎src/Symfony/Bridge/Doctrine/Security/User/EntityUserProvider.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Security/User/EntityUserProvider.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private function getEntityManager()
118118

119119
private function getRepository()
120120
{
121-
return $this->getEntityManager()->getRepository($this->getClass());
121+
return $this->getEntityManager()->getRepository($this->classOrAlias);
122122
}
123123

124124
private function getClass()
@@ -138,6 +138,6 @@ private function getClass()
138138

139139
private function getClassMetadata()
140140
{
141-
return $this->getEntityManager()->getClassMetadata($this->getClass());
141+
return $this->getEntityManager()->getClassMetadata($this->classOrAlias);
142142
}
143143
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.