Completed
Push — master ( 4a26e0...a6da3f )
by Richard
02:34
created
src/Parser/Sheet.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -79,6 +79,10 @@  discard block
 block discarded – undo
79 79
 		if (empty($rules) && count($this->tss) > 0) throw new \Exception('No TSS rules parsed');
80 80
 	}
81 81
 
82
+	/**
83
+	 * @param integer $index
84
+	 * @param integer $line
85
+	 */
82 86
 	private function CssToRules($selector, $index, $properties, $line) {
83 87
 		$parts = $selector->trim()->splitOnToken(Tokenizer::ARG);
84 88
 		$rules = [];
@@ -102,6 +106,9 @@  discard block
 block discarded – undo
102 106
 		return $rules;
103 107
 	}
104 108
 
109
+	/**
110
+	 * @param integer $indexStart
111
+	 */
105 112
 	private function processingInstructions($token, $indexStart) {
106 113
 		if ($token['type'] !== Tokenizer::AT_SIGN) return false;
107 114
 		$tokens = $this->tss->from(Tokenizer::AT_SIGN, false)->to(Tokenizer::SEMI_COLON, false);
@@ -126,6 +133,10 @@  discard block
 block discarded – undo
126 133
 		return ($a->depth < $b->depth) ? -1 : 1;
127 134
 	}
128 135
 
136
+	/**
137
+	 * @param string $open
138
+	 * @param string $close
139
+	 */
129 140
 	private function stripComments($str, $open, $close) {
130 141
 		$pos = 0;
131 142
 		while (($pos = strpos($str, $open, $pos)) !== false) {
Please login to merge, or discard this patch.