merge_email_verifier #3

Merged
tracer merged 23 commits from merge_email_verifier into master 2022-11-04 10:35:23 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit fec6ae5db5 - Show all commits

View File

@ -23,7 +23,7 @@ class PagesRepository extends ServiceEntityRepository
public function add(Pages $entity, bool $flush = true): void public function add(Pages $entity, bool $flush = true): void
{ {
$this->_em->persist($entity); $this->_em->persist(entity: $entity);
if ($flush) { if ($flush) {
$this->_em->flush(); $this->_em->flush();
} }
@ -31,7 +31,7 @@ class PagesRepository extends ServiceEntityRepository
public function remove(Pages $entity, bool $flush = true): void public function remove(Pages $entity, bool $flush = true): void
{ {
$this->_em->remove($entity); $this->_em->remove(entity: $entity);
if ($flush) { if ($flush) {
$this->_em->flush(); $this->_em->flush();
} }