Completed
Pull Request — master (#9)
by Andreas
02:26
created
src/Parser/Lanyrd/EventName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     {
37 37
         $confPath = $xpath->query("//h3/a[contains(@class, 'summary')]");
38 38
 
39
-        if (! $confPath || $confPath->length == 0) {
39
+        if (!$confPath || $confPath->length == 0) {
40 40
             throw new \InvalidArgumentException('The CfP does not seem to have an eventname');
41 41
         }
42 42
 
Please login to merge, or discard this patch.
src/Parser/Lanyrd/Location.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function parse($dom, $xpath)
36 36
     {
37 37
         $locations = $xpath->query("//div[contains(@class, 'vevent')]/p[contains(@class, 'location')]/a"); ///a/abbr[class='dtstart']
38
-        if (! $locations || $locations->length == 0) {
38
+        if (!$locations || $locations->length == 0) {
39 39
             throw new \InvalidArgumentException('The Event does not seem to have an end date');
40 40
         }
41 41
         $location = [];
Please login to merge, or discard this patch.
src/Parser/Lanyrd/EventStartDate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function parse($dom, $xpath)
36 36
     {
37 37
         $startDate = $xpath->query("//div[contains(@class, 'vevent')]/*/abbr[contains(@class, 'dtstart')]"); ///a/abbr[class='dtstart']
38
-        if (! $startDate || $startDate->length == 0) {
38
+        if (!$startDate || $startDate->length == 0) {
39 39
             throw new \InvalidArgumentException('The Event does not seem to have a start date');
40 40
         }
41 41
 
Please login to merge, or discard this patch.