Completed
Push — master ( f4d4c4...598d1e )
by Tom
02:08
created
src/SheetLoader/SheetLoader.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@  discard block
 block discarded – undo
42 42
 	}
43 43
 
44 44
 
45
+	/**
46
+	 * @param \Transphporm\Template $template
47
+	 */
45 48
 	public function processRules($template, \Transphporm\Config $config) {
46 49
 		$rules = $this->getRules($config->getCssToXpath(), $config->getValueParser());
47 50
 
@@ -57,11 +60,20 @@  discard block
 block discarded – undo
57 60
 	}
58 61
 
59 62
 	//Load the TSS
63
+
64
+	/**
65
+	 * @param \Transphporm\Parser\CssToXpath $cssToXpath
66
+	 * @param \Transphporm\Parser\Value $valueParser
67
+	 */
60 68
 	public function getRules($cssToXpath, $valueParser, $indexStart = 0) {
61 69
 		return $this->tss->getRules($cssToXpath, $valueParser, $this, $indexStart);
62 70
 	}
63 71
 
64 72
 	//Process a TSS rule e.g. `ul li {content: "foo"; format: bar}
73
+
74
+	/**
75
+	 * @param \Transphporm\Config $config
76
+	 */
65 77
 	private function executeTssRule($rule, $template, $config) {
66 78
 		$rule->touch();
67 79
 
Please login to merge, or discard this patch.
src/SheetLoader/TSSFile.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@
 block discarded – undo
12 12
 	private $cache;
13 13
 	private $time;
14 14
 
15
+	/**
16
+	 * @param string $fileName
17
+	 * @param \Transphporm\Cache $cache
18
+	 */
15 19
 	public function __construct($fileName, \Transphporm\FilePath $filePath, $cache, $time) {
16 20
 		$this->fileName = $fileName;
17 21
 		$this->filePath = $filePath;
Please login to merge, or discard this patch.
src/SheetLoader/TSSString.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@  discard block
 block discarded – undo
9 9
 	private $str;
10 10
 	private $filePath;
11 11
 
12
+	/**
13
+	 * @param string $str
14
+	 */
12 15
 	public function __construct($str, $filePath) {
13 16
 		$this->str = $str;
14 17
 		$this->filePath = $filePath;
@@ -22,6 +25,11 @@  discard block
 block discarded – undo
22 25
 		return '';
23 26
 	}
24 27
 
28
+	/**
29
+	 * @param \Transphporm\Parser\CssToXpath $cssToXpath
30
+	 * @param \Transphporm\Parser\Value $valueParser
31
+	 * @param SheetLoader $sheetLoader
32
+	 */
25 33
 	public function getRules($cssToXpath, $valueParser, $sheetLoader, $indexStart) {
26 34
 		return (new \Transphporm\Parser\Sheet($this->str, $cssToXpath, $valueParser, $this->filePath, $sheetLoader))->parse($indexStart);
27 35
 	}
Please login to merge, or discard this patch.