Remove spaces after type casts

This commit is contained in:
Tautvidas Sipavičius
2016-06-29 19:04:23 +03:00
parent 9595e9629f
commit 841340a42d
10 changed files with 26 additions and 26 deletions

View File

@@ -14,4 +14,4 @@ class Date {
);
return (isset($actions[$action])) ? $actions[$action] : false;
}
}
}

View File

@@ -90,7 +90,7 @@ class Link {
}
static function processUrl($action, $url, $queue) {
return ($queue !== false && (boolean) Setting::getValue('tracking.enabled')) ?
return ($queue !== false && (boolean)Setting::getValue('tracking.enabled')) ?
self::getShortcode($action) :
$url;
}
@@ -101,7 +101,7 @@ class Link {
switch($shortcode_action) {
case 'subscription_unsubscribe_url':
// track unsubscribe event
if((boolean) Setting::getValue('tracking.enabled')) {
if((boolean)Setting::getValue('tracking.enabled')) {
$unsubscribe = new Unsubscribes();
$unsubscribe->track($newsletter['id'], $subscriber['id'], $queue['id']);
}
@@ -131,4 +131,4 @@ class Link {
private static function getShortcode($action) {
return sprintf('[link:%s]', $action);
}
}
}

View File

@@ -59,4 +59,4 @@ class Newsletter {
$posts->posts[0]->to_array() :
false;
}
}
}