@@ -39,6 +39,9 @@ discard block |
||
39 | 39 | return $this->properties; |
40 | 40 | } |
41 | 41 | |
42 | + /** |
|
43 | + * @param \DOMElement $element |
|
44 | + */ |
|
42 | 45 | private function callProperty($name, $element, $value) { |
43 | 46 | foreach ($this->properties as $obj) { |
44 | 47 | if (is_callable([$obj, $name])) { |
@@ -117,6 +120,9 @@ discard block |
||
117 | 120 | return false; |
118 | 121 | } |
119 | 122 | |
123 | + /** |
|
124 | + * @param string $remaining |
|
125 | + */ |
|
120 | 126 | private function parseNextValue($remaining, $result, $element) { |
121 | 127 | if (strlen($remaining) > 0 && $remaining[0] == ',') $result = array_merge($result, $this->parseValue(trim(substr($remaining, 1)), $element)); |
122 | 128 | return $result; |