mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +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
|
* 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/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Chill\PersonBundle\Entity;
|
namespace Chill\PersonBundle\Entity;
|
||||||
|
|
||||||
|
use Doctrine\ORM\EntityRepository;
|
||||||
|
|
||||||
@trigger_error(__CLASS__." is deprecated since 2019-10-30. Use "
|
@trigger_error(__CLASS__." is deprecated since 2019-10-30. Use "
|
||||||
.\Chill\PersonBundle\Repository\PersonRepository::class.' instead.',
|
.\Chill\PersonBundle\Repository\PersonRepository::class.' instead.',
|
||||||
E_USER_DEPRECATED);
|
E_USER_DEPRECATED);
|
||||||
@ -25,6 +28,6 @@ namespace Chill\PersonBundle\Entity;
|
|||||||
*
|
*
|
||||||
* @deprecated since 2019-10-30. Use \Chill\PersonBundle\Repository\PersonRepository instead.
|
* @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;
|
namespace Chill\PersonBundle\Repository;
|
||||||
|
|
||||||
use Doctrine\ORM\EntityRepository;
|
|
||||||
use Doctrine\ORM\QueryBuilder;
|
use Doctrine\ORM\QueryBuilder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PersonRepository
|
* PersonRepository
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class PersonRepository extends EntityRepository
|
class PersonRepository extends \Chill\PersonBundle\Entity\PersonRepository
|
||||||
{
|
{
|
||||||
public function findByPhone(
|
public function findByPhone(
|
||||||
string $phonenumber,
|
string $phonenumber,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user