fix Person Repository error

This commit is contained in:
Tchama 2019-11-12 11:27:36 +01:00
parent cc48987ab3
commit 06bbf585ef
2 changed files with 6 additions and 3 deletions

View File

@ -15,8 +15,11 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace Chill\PersonBundle\Entity;
use Doctrine\ORM\EntityRepository;
@trigger_error(__CLASS__." is deprecated since 2019-10-30. Use "
.\Chill\PersonBundle\Repository\PersonRepository::class.' instead.',
E_USER_DEPRECATED);
@ -25,6 +28,6 @@ namespace Chill\PersonBundle\Entity;
*
* @deprecated since 2019-10-30. Use \Chill\PersonBundle\Repository\PersonRepository instead.
*/
class PersonRepository extends \Chill\PersonBundle\Repository\PersonRepository
class PersonRepository extends EntityRepository
{
}

View File

@ -18,14 +18,14 @@
namespace Chill\PersonBundle\Repository;
use Doctrine\ORM\EntityRepository;
use Doctrine\ORM\QueryBuilder;
/**
* PersonRepository
*
*/
class PersonRepository extends EntityRepository
class PersonRepository extends \Chill\PersonBundle\Entity\PersonRepository
{
public function findByPhone(
string $phonenumber,