@@ -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'); |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $xpath = new DOMXPath($dom); |
45 | 45 | $titlePath = $xpath->query("//div[contains(@class, 'subheader__logo')]/img"); |
46 | 46 | |
47 | - if (! $titlePath || $titlePath->length == 0) { |
|
47 | + if (!$titlePath || $titlePath->length == 0) { |
|
48 | 48 | return $cfp; |
49 | 49 | } |
50 | 50 |