@@ -38,6 +38,10 @@ |
||
38 | 38 | $this->timezone = new \DateTimezone($timezone); |
39 | 39 | } |
40 | 40 | |
41 | + /** |
|
42 | + * @param \DOMDocument $dom |
|
43 | + * @param \DOMXPath $xpath |
|
44 | + */ |
|
41 | 45 | public function parse($dom, $xpath) |
42 | 46 | { |
43 | 47 | $openingDate = $xpath->query("//span[text()='Openend on:']/following-sibling::strong"); |
@@ -50,7 +50,6 @@ discard block |
||
50 | 50 | * |
51 | 51 | * The URI to that Icon is then returned. |
52 | 52 | * |
53 | - * @param string $url The URI of the event-page |
|
54 | 53 | * |
55 | 54 | * @throws \Exception should no Icon be retrievable |
56 | 55 | * @return string |
@@ -70,6 +69,9 @@ discard block |
||
70 | 69 | return $icon; |
71 | 70 | } |
72 | 71 | |
72 | + /** |
|
73 | + * @param \DOMXPath $xpath |
|
74 | + */ |
|
73 | 75 | public function getIcon($xpath) |
74 | 76 | { |
75 | 77 | $icons = $xpath->query('icon'); |