Passed
Push — master ( b89f4b...7a0cd9 )
by Morris
40:21 queued 11s
created
lib/private/Repair/NC22/LookupServerSendCheck.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -34,31 +34,31 @@
 block discarded – undo
34 34
 
35 35
 class LookupServerSendCheck implements IRepairStep {
36 36
 
37
-	/** @var IJobList */
38
-	private $jobList;
37
+    /** @var IJobList */
38
+    private $jobList;
39 39
 
40
-	/** @var IConfig */
41
-	private $config;
40
+    /** @var IConfig */
41
+    private $config;
42 42
 
43
-	public function __construct(IJobList $jobList, IConfig $config) {
44
-		$this->jobList = $jobList;
45
-		$this->config = $config;
46
-	}
43
+    public function __construct(IJobList $jobList, IConfig $config) {
44
+        $this->jobList = $jobList;
45
+        $this->config = $config;
46
+    }
47 47
 
48
-	public function getName(): string {
49
-		return 'Add background job to set the lookup server share state for users';
50
-	}
48
+    public function getName(): string {
49
+        return 'Add background job to set the lookup server share state for users';
50
+    }
51 51
 
52
-	private function shouldRun(): bool {
53
-		$versionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0.0');
52
+    private function shouldRun(): bool {
53
+        $versionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0.0');
54 54
 
55
-		// was added to 22.0.0.3
56
-		return (version_compare($versionFromBeforeUpdate, '22.0.0.3', '<') && version_compare($versionFromBeforeUpdate, '22.0.0.0', '>='))
57
-			||
58
-			(version_compare($versionFromBeforeUpdate, '21.0.1.2', '<') && version_compare($versionFromBeforeUpdate, '21.0.0.0', '>'));
59
-	}
55
+        // was added to 22.0.0.3
56
+        return (version_compare($versionFromBeforeUpdate, '22.0.0.3', '<') && version_compare($versionFromBeforeUpdate, '22.0.0.0', '>='))
57
+            ||
58
+            (version_compare($versionFromBeforeUpdate, '21.0.1.2', '<') && version_compare($versionFromBeforeUpdate, '21.0.0.0', '>'));
59
+    }
60 60
 
61
-	public function run(IOutput $output): void {
62
-		$this->jobList->add(LookupServerSendCheckBackgroundJob::class);
63
-	}
61
+    public function run(IOutput $output): void {
62
+        $this->jobList->add(LookupServerSendCheckBackgroundJob::class);
63
+    }
64 64
 }
Please login to merge, or discard this patch.