@@ -21,13 +21,13 @@ |
||
21 | 21 | //$uriPath = $xpath->query('//div[contains(text()[2], "website")]/following-sibling::h2/a'); |
22 | 22 | $uriPath = $xpath->query('//div[contains(., "website")]'); |
23 | 23 | |
24 | - if (! $uriPath || $uriPath->length == 0) { |
|
24 | + if (!$uriPath || $uriPath->length == 0) { |
|
25 | 25 | throw new \InvalidArgumentException('The CfP does not seem to have an EventUri'); |
26 | 26 | } |
27 | 27 | |
28 | 28 | $uriPath = $xpath->query('.//h2/a', $uriPath->item(0)->parentNode); |
29 | 29 | |
30 | - if (! $uriPath || $uriPath->length == 0) { |
|
30 | + if (!$uriPath || $uriPath->length == 0) { |
|
31 | 31 | throw new \InvalidArgumentException('The Event does not seem to have a location'); |
32 | 32 | } |
33 | 33 |
@@ -19,13 +19,13 @@ |
||
19 | 19 | // This expression does not work. It looks like the reason is the array-notation... |
20 | 20 | //$locations = $xpath->query('//div[contains(text()[2], "location")]/following-sibling::h2/span'); |
21 | 21 | $locationMarker = $xpath->query("//div[contains(., 'location')]"); |
22 | - if (! $locationMarker || $locationMarker->length == 0) { |
|
22 | + if (!$locationMarker || $locationMarker->length == 0) { |
|
23 | 23 | throw new \InvalidArgumentException('The Event does not seem to have a locationMarker'); |
24 | 24 | } |
25 | 25 | |
26 | 26 | $locations = $xpath->query('.//h2/span', $locationMarker->item(0)->parentNode); |
27 | 27 | |
28 | - if (! $locations || $locations->length == 0) { |
|
28 | + if (!$locations || $locations->length == 0) { |
|
29 | 29 | throw new \InvalidArgumentException('The Event does not seem to have a location'); |
30 | 30 | } |
31 | 31 | $location = []; |