mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix Person Repository error
This commit is contained in:
parent
cc48987ab3
commit
06bbf585ef
@ -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
|
||||
{
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user