Completed
Pull Request — master (#175)
by Tom
05:04 queued 04:06
created
src/Parser/CssToXpath.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
 	private $functionSet;
14 14
 	private $id;
15 15
 
16
+	/**
17
+	 * @param string $id
18
+	 */
16 19
 	public function __construct(\Transphporm\FunctionSet $functionSet, $prefix = '', $id = null) {
17 20
 		$this->id = $id;
18 21
 		self::$instances[$this->id] = $this;
Please login to merge, or discard this patch.
src/Parser/Sheet.php 1 patch
Doc Comments   +10 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) {
@@ -65,6 +68,10 @@  discard block
 block discarded – undo
65 68
 		if (empty($rules) && count($this->tss) > 0) throw new \Exception('No TSS rules parsed');
66 69
 	}
67 70
 
71
+	/**
72
+	 * @param Tokens $selector
73
+	 * @param integer $index
74
+	 */
68 75
 	private function CssToRules($selector, $index, $properties, $line) {
69 76
 		$parts = $selector->trim()->splitOnToken(Tokenizer::ARG);
70 77
 		$rules = [];
@@ -88,6 +95,9 @@  discard block
 block discarded – undo
88 95
 		return $rules;
89 96
 	}
90 97
 
98
+	/**
99
+	 * @param integer $indexStart
100
+	 */
91 101
 	private function processingInstructions($token, $indexStart) {
92 102
 		if ($token['type'] !== Tokenizer::AT_SIGN) return false;
93 103
 		$tokens = $this->tss->from(Tokenizer::AT_SIGN, false)->to(Tokenizer::SEMI_COLON, false);
Please login to merge, or discard this patch.