Completed
Push — master ( 02c8a1...58faf5 )
by Tom
02:14
created
src/Parser/Sheet.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -102,14 +102,14 @@
 block discarded – undo
102 102
 	}
103 103
 
104 104
 	private function getProperties($tokens) {
105
-        $rules = $tokens->splitOnToken(Tokenizer::SEMI_COLON);
105
+		$rules = $tokens->splitOnToken(Tokenizer::SEMI_COLON);
106 106
 
107
-        $return = [];
108
-        foreach ($rules as $rule) {
109
-            $name = $rule->from(Tokenizer::NAME, true)->to(Tokenizer::COLON)->read();
110
-            $return[$name] = $rule->from(Tokenizer::COLON)->trim();
111
-        }
107
+		$return = [];
108
+		foreach ($rules as $rule) {
109
+			$name = $rule->from(Tokenizer::NAME, true)->to(Tokenizer::COLON)->read();
110
+			$return[$name] = $rule->from(Tokenizer::COLON)->trim();
111
+		}
112 112
 
113
-        return $return;
114
-    }
113
+		return $return;
114
+	}
115 115
 }
Please login to merge, or discard this patch.
src/SheetCache.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,17 +44,17 @@
 block discarded – undo
44 44
 
45 45
 
46 46
 	//write the sheet to cache
47
-    public function write($file, $rules, $imports = []) {
47
+	public function write($file, $rules, $imports = []) {
48 48
 		if (is_file($file)) {
49 49
 			$existing = $this->cache->load($file, filemtime($file));
50 50
 			if (isset($existing['import'])) $imports = $existing['import'];
51 51
 			$this->cache->write($this->cacheName, ['rules' => $rules, 'import' => $imports, 'minFreq' => $this->getMinUpdateFreq($rules), 'ctime' => $this->time, 'cacheKey' => $this->cacheKey]);
52 52
 		}
53 53
 		return $rules;
54
-    }
54
+	}
55 55
 
56
-    public function setKey($key) {
57
-    	$this->cacheKey = $key;
58
-    }
56
+	public function setKey($key) {
57
+		$this->cacheKey = $key;
58
+	}
59 59
 
60 60
 }
61 61
\ No newline at end of file
Please login to merge, or discard this patch.