Add space between if and ‘(‘

[MAILPOET-1791]
This commit is contained in:
Ján Mikláš
2019-02-13 13:08:49 +01:00
committed by M. Shull
parent a935b091d3
commit 3ee58aea10
333 changed files with 4001 additions and 4001 deletions

View File

@@ -104,7 +104,7 @@ class ShortcodesHelper {
)
);
$custom_fields = self::getCustomFields();
if($custom_fields) {
if ($custom_fields) {
$shortcodes[__('Subscriber', 'mailpoet')] = array_merge(
$shortcodes[__('Subscriber', 'mailpoet')],
$custom_fields
@@ -115,7 +115,7 @@ class ShortcodesHelper {
static function getCustomFields() {
$custom_fields = CustomField::findMany();
if(!$custom_fields) return false;
if (!$custom_fields) return false;
return array_map(function($custom_field) {
return array(
'text' => $custom_field->name,
@@ -123,4 +123,4 @@ class ShortcodesHelper {
);
}, $custom_fields);
}
}
}