@@ -241,7 +241,7 @@ |
||
| 241 | 241 | 'subscription_tracking' => $this->getSubscriptionTracking(), |
| 242 | 242 | 'ganalytics' => $this->getGanalytics() |
| 243 | 243 | ], |
| 244 | - function ($value) { |
|
| 244 | + function($value) { |
|
| 245 | 245 | return $value !== null; |
| 246 | 246 | } |
| 247 | 247 | ) ?: null; |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | public function addGroupToDisplay($group_to_display) |
| 70 | 70 | { |
| 71 | 71 | Assert::integer($group_to_display, 'group_to_display'); |
| 72 | - Assert::accept($group_to_display, 'group_to_display', function () { |
|
| 72 | + Assert::accept($group_to_display, 'group_to_display', function() { |
|
| 73 | 73 | $groups = $this->groups_to_display; |
| 74 | 74 | if (!\is_array($groups)) { |
| 75 | 75 | $groups = []; |
@@ -128,7 +128,7 @@ |
||
| 128 | 128 | 'text' => $this->getText(), |
| 129 | 129 | 'html' => $this->getHtml() |
| 130 | 130 | ], |
| 131 | - function ($value) { |
|
| 131 | + function($value) { |
|
| 132 | 132 | return $value !== null; |
| 133 | 133 | } |
| 134 | 134 | ) ?: null; |
@@ -99,7 +99,7 @@ |
||
| 99 | 99 | 'enable' => $this->getEnable(), |
| 100 | 100 | 'email' => $this->getEmail() |
| 101 | 101 | ], |
| 102 | - static function ($value) { |
|
| 102 | + static function($value) { |
|
| 103 | 103 | return $value !== null; |
| 104 | 104 | } |
| 105 | 105 | ) ?: null; |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | */ |
| 76 | 76 | public function setValue($value) |
| 77 | 77 | { |
| 78 | - Assert::accept($value, 'value', static function ($val) { |
|
| 78 | + Assert::accept($value, 'value', static function($val) { |
|
| 79 | 79 | return \is_string($val) |
| 80 | 80 | || filter_var($val, FILTER_VALIDATE_INT) !== false |
| 81 | 81 | || \is_float($val) |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | 'key' => $this->getKey(), |
| 111 | 111 | 'value' => $this->getValue() |
| 112 | 112 | ], |
| 113 | - function ($value) { |
|
| 113 | + function($value) { |
|
| 114 | 114 | return $value !== null; |
| 115 | 115 | } |
| 116 | 116 | ) ?: null; |
@@ -113,7 +113,7 @@ |
||
| 113 | 113 | 'enable' => $this->getEnable(), |
| 114 | 114 | 'substitution_tag' => $this->getSubstitutionTag() |
| 115 | 115 | ], |
| 116 | - function ($value) { |
|
| 116 | + function($value) { |
|
| 117 | 117 | return $value !== null; |
| 118 | 118 | } |
| 119 | 119 | ) ?: null; |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | |
| 75 | 75 | if (!$this->isBase64($content)) { |
| 76 | 76 | $this->content = base64_encode($content); |
| 77 | - } else { |
|
| 77 | + }else { |
|
| 78 | 78 | $this->content = $content; |
| 79 | 79 | } |
| 80 | 80 | } |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | 'disposition' => $this->getDisposition(), |
| 219 | 219 | 'content_id' => $this->getContentID() |
| 220 | 220 | ], |
| 221 | - function ($value) { |
|
| 221 | + function($value) { |
|
| 222 | 222 | return $value !== null; |
| 223 | 223 | } |
| 224 | 224 | ) ?: null; |
@@ -231,7 +231,7 @@ |
||
| 231 | 231 | 'utm_content' => $this->getCampaignContent(), |
| 232 | 232 | 'utm_campaign' => $this->getCampaignName() |
| 233 | 233 | ], |
| 234 | - function ($value) { |
|
| 234 | + function($value) { |
|
| 235 | 235 | return $value !== null; |
| 236 | 236 | } |
| 237 | 237 | ) ?: null; |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | 'first_name' => $this->getFirstName(), |
| 77 | 77 | 'last_name' => $this->getLastName() |
| 78 | 78 | ], |
| 79 | - function ($value) { |
|
| 79 | + function($value) { |
|
| 80 | 80 | return $value !== null; |
| 81 | 81 | } |
| 82 | 82 | ) ?: null; |