Completed
Pull Request — master (#28)
by Andreas
01:43
created
src/Parser/PapercallIo/Description.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
 class Description
33 33
 {
34 34
 
35
+    /**
36
+     * @param \DOMDocument $dom
37
+     * @param \DOMXPath $xpath
38
+     */
35 39
     public function parse($dom, $xpath)
36 40
     {
37 41
         $result = $xpath->query('//div[contains(@class, "description")]');
Please login to merge, or discard this patch.
src/Parser/PapercallIo/Entry.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -150,6 +150,9 @@
 block discarded – undo
150 150
         return [$location->lat, $location->lon];
151 151
     }
152 152
 
153
+    /**
154
+     * @param \DOMXPath $xpath
155
+     */
153 156
     public function getEventPage($xpath)
154 157
     {
155 158
         $confPath = $xpath->query("//h3/a[contains(@class, 'summary')]");
Please login to merge, or discard this patch.
src/Parser/PapercallIo/EventEndDate.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@
 block discarded – undo
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
         $endDate = $xpath->query("//div[contains(@class, 'vevent')]/*/abbr[contains(@class, 'dtend')]"); ///a/abbr[class='dtstart']
Please login to merge, or discard this patch.
src/Parser/PapercallIo/EventName.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
 class EventName
33 33
 {
34 34
 
35
+    /**
36
+     * @param \DOMDocument $dom
37
+     * @param \DOMXPath $xpath
38
+     */
35 39
     public function parse($dom, $xpath)
36 40
     {
37 41
         $confPath = $xpath->query("//h3/a[contains(@class, 'summary')]");
Please login to merge, or discard this patch.
src/Parser/PapercallIo/EventStartDate.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@
 block discarded – undo
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
         $startDate = $xpath->query("//div[contains(@class, 'vevent')]/*/abbr[contains(@class, 'dtstart')]"); ///a/abbr[class='dtstart']
Please login to merge, or discard this patch.
src/Parser/PapercallIo/EventUri.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
 class EventUri
33 33
 {
34 34
 
35
+    /**
36
+     * @param \DOMDocument $dom
37
+     * @param \DOMXPath $xpath
38
+     */
35 39
     public function parse($dom, $xpath)
36 40
     {
37 41
         $uriPath = $xpath->query("//a[contains(@title, 'visit their website')]");
Please login to merge, or discard this patch.
src/Parser/PapercallIo/Location.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
 class Location
33 33
 {
34 34
 
35
+    /**
36
+     * @param \DOMDocument $dom
37
+     * @param \DOMXPath $xpath
38
+     */
35 39
     public function parse($dom, $xpath)
36 40
     {
37 41
         $locations = $xpath->query("//div[contains(@class, 'vevent')]/p[contains(@class, 'location')]/a"); ///a/abbr[class='dtstart']
Please login to merge, or discard this patch.
src/Parser/PapercallIo/OpeningDate.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
src/Parser/PapercallIo/Tags.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
 class Tags
33 33
 {
34 34
 
35
+    /**
36
+     * @param \DOMDocument $dom
37
+     * @param \DOMXPath $xpath
38
+     */
35 39
     public function parse($dom, $xpath)
36 40
     {
37 41
         $tags = $xpath->query(
Please login to merge, or discard this patch.