Completed
Pull Request — master (#29)
by Andreas
01:58
created
src/Parser/IconParser.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.
src/Parser/PapercallIo/Icon.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.