Completed
Push — master ( f5a4f7...862e70 )
by Richard
02:25
created
src/Parser/Sheet.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
 		return $this->cache->write($this->file, $rules, $this->import);
40 40
 	}
41 41
 
42
+	/**
43
+	 * @param integer $indexStart
44
+	 */
42 45
 	private function parseTokens($indexStart) {
43 46
 		$this->rules = [];
44 47
 		foreach (new TokenFilterIterator($this->tss, [Tokenizer::WHITESPACE]) as $token) {
@@ -63,6 +66,9 @@  discard block
 block discarded – undo
63 66
 		if (empty($rules) && count($this->tss) > 0) throw new \Exception('No TSS rules parsed');
64 67
 	}
65 68
 
69
+	/**
70
+	 * @param integer $index
71
+	 */
66 72
 	private function CssToRules($selector, $index, $properties, $line) {
67 73
 		$parts = $selector->trim()->splitOnToken(Tokenizer::ARG);
68 74
 		$rules = [];
@@ -86,6 +92,9 @@  discard block
 block discarded – undo
86 92
 		return $rules;
87 93
 	}
88 94
 
95
+	/**
96
+	 * @param integer $indexStart
97
+	 */
89 98
 	private function processingInstructions($token, $indexStart) {
90 99
 		if ($token['type'] !== Tokenizer::AT_SIGN) return false;
91 100
 		$tokens = $this->tss->from(Tokenizer::AT_SIGN, false)->to(Tokenizer::SEMI_COLON, false);
Please login to merge, or discard this patch.