@@ -10,6 +10,9 @@ discard block |
||
10 | 10 | private $elementData; |
11 | 11 | private $line; |
12 | 12 | |
13 | + /** |
|
14 | + * @param integer $line |
|
15 | + */ |
|
13 | 16 | public function __construct(\Transphporm\FunctionSet $functionSet, \Transphporm\Hook\ElementData $elementData, &$line) { |
14 | 17 | $this->functionSet = $functionSet; |
15 | 18 | $this->elementData = $elementData; |
@@ -58,6 +61,12 @@ discard block |
||
58 | 61 | return $value; |
59 | 62 | } |
60 | 63 | |
64 | + /** |
|
65 | + * @param \DOMElement $element |
|
66 | + * @param integer $count |
|
67 | + * |
|
68 | + * @return \DOMElement |
|
69 | + */ |
|
61 | 70 | private function cloneElement($element, $iteration, $key, $count) { |
62 | 71 | $clone = $element->cloneNode(true); |
63 | 72 | $this->tagElement($clone, $count); |
@@ -77,6 +86,9 @@ discard block |
||
77 | 86 | return isset($values[1]) ? $values[1] : PHP_INT_MAX; |
78 | 87 | } |
79 | 88 | |
89 | + /** |
|
90 | + * @param \Transphporm\Hook\PseudoMatcher $pseudoMatcher |
|
91 | + */ |
|
80 | 92 | private function createHook($newRules, $pseudoMatcher, $properties) { |
81 | 93 | $var = ""; // PropertyHook requires that baseDir be passed by refrence |
82 | 94 | // and there is no reason to pass it so create $var to avoid errors |