Add space between if and ‘(‘
[MAILPOET-1791]
This commit is contained in:
@@ -6,7 +6,7 @@ use MailPoet\Services\Bridge;
|
||||
use MailPoet\Services\Release\API;
|
||||
use MailPoet\Settings\SettingsController;
|
||||
|
||||
if(!defined('ABSPATH')) exit;
|
||||
if (!defined('ABSPATH')) exit;
|
||||
|
||||
class Updater {
|
||||
private $plugin;
|
||||
@@ -28,14 +28,14 @@ class Updater {
|
||||
}
|
||||
|
||||
function checkForUpdate($update_transient) {
|
||||
if(!is_object($update_transient)) {
|
||||
if (!is_object($update_transient)) {
|
||||
$update_transient = new \stdClass;
|
||||
}
|
||||
|
||||
$latest_version = $this->getLatestVersion();
|
||||
|
||||
if(isset($latest_version->new_version)) {
|
||||
if(version_compare($this->version, $latest_version->new_version, '<')) {
|
||||
if (isset($latest_version->new_version)) {
|
||||
if (version_compare($this->version, $latest_version->new_version, '<')) {
|
||||
$update_transient->response[$this->plugin] = $latest_version;
|
||||
}
|
||||
$update_transient->last_checked = time();
|
||||
|
Reference in New Issue
Block a user