Fix code style by updated ruleset
[MAILPOET-3912]
This commit is contained in:
@@ -56,7 +56,8 @@ class Subscriber implements CategoryInterface {
|
||||
case 'count':
|
||||
return (string)$this->subscribersRepository->getTotalSubscribers();
|
||||
default:
|
||||
if (preg_match('/cf_(\d+)/', $shortcodeDetails['action'], $customField) &&
|
||||
if (
|
||||
preg_match('/cf_(\d+)/', $shortcodeDetails['action'], $customField) &&
|
||||
!empty($subscriber->getId())
|
||||
) {
|
||||
$customField = $this->subscriberCustomFieldRepository->findOneBy([
|
||||
|
Reference in New Issue
Block a user