File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Domain/Subscription/Repository Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,15 +130,15 @@ public function findSubscriberWithSubscriptions(int $id): ?Subscriber
130130
131131 public function isEmailBlacklisted (string $ email ): bool
132132 {
133- $ qb = $ this ->getEntityManager ()->createQueryBuilder ();
133+ $ queryBuilder = $ this ->getEntityManager ()->createQueryBuilder ();
134134
135- $ qb ->select ('u.email ' )
135+ $ queryBuilder ->select ('u.email ' )
136136 ->from (Subscriber::class, 'u ' )
137137 ->where ('u.email = :email ' )
138138 ->andWhere ('u.blacklisted = 1 ' )
139139 ->setParameter ('email ' , $ email )
140140 ->setMaxResults (1 );
141141
142- return !($ qb ->getQuery ()->getOneOrNullResult () === null );
142+ return !($ queryBuilder ->getQuery ()->getOneOrNullResult () === null );
143143 }
144144}
You can’t perform that action at this time.
0 commit comments