@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | $versions = $element->getElementsByTagName("version"); |
| 17 | 17 | $version = $versions->item(0)->nodeValue; |
| 18 | 18 | } |
| 19 | - if($version) { |
|
| 19 | + if ($version) { |
|
| 20 | 20 | $githubVersion = $version; |
| 21 | 21 | } |
| 22 | 22 | $AppInstance = new App(); |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | Github version: <?php p($githubVersion); ?><br /> |
| 31 | 31 | Local version: <?php p($localVersion); ?><br /> |
| 32 | 32 | <?php |
| 33 | - if(version_compare($githubVersion, $localVersion) === 1){ |
|
| 33 | + if (version_compare($githubVersion, $localVersion) === 1) { |
|
| 34 | 34 | p($l->t('A newer version of passman is available')); |
| 35 | 35 | } |
| 36 | 36 | ?> |
@@ -163,13 +163,13 @@ |
||
| 163 | 163 | $activity . '_self', array($label, $this->userId, $revision_created), |
| 164 | 164 | '', array(), |
| 165 | 165 | $link, $this->userId, Activity::TYPE_ITEM_ACTION); |
| 166 | - } else if (($storedCredential->getDeleteTime() === 0) && (int)$delete_time > 0) { |
|
| 166 | + } else if (($storedCredential->getDeleteTime() === 0) && (int) $delete_time > 0) { |
|
| 167 | 167 | $activity = 'item_deleted'; |
| 168 | 168 | $this->activityService->add( |
| 169 | 169 | $activity . '_self', array($label, $this->userId), |
| 170 | 170 | '', array(), |
| 171 | 171 | $link, $this->userId, Activity::TYPE_ITEM_ACTION); |
| 172 | - } else if (($storedCredential->getDeleteTime() > 0) && (int)$delete_time === 0) { |
|
| 172 | + } else if (($storedCredential->getDeleteTime() > 0) && (int) $delete_time === 0) { |
|
| 173 | 173 | $activity = 'item_recovered'; |
| 174 | 174 | $this->activityService->add( |
| 175 | 175 | $activity . '_self', array($label, $this->userId), |