@@ -43,11 +43,11 @@ |
||
43 | 43 | $xpath = new DOMXPath($dom); |
44 | 44 | $titlePath = $xpath->query("//a[starts-with(@href, '/cfps/')]"); |
45 | 45 | |
46 | - if (! $titlePath || $titlePath->length == 0) { |
|
46 | + if (!$titlePath || $titlePath->length == 0) { |
|
47 | 47 | throw new \InvalidArgumentException('The CfP does not seem to have a CfP-Uri'); |
48 | 48 | } |
49 | 49 | |
50 | - $cfp->uri = 'https://papercall.io' . trim($titlePath->item(0)->attributes->getNamedItem('href')->textContent); |
|
50 | + $cfp->uri = 'https://papercall.io'.trim($titlePath->item(0)->attributes->getNamedItem('href')->textContent); |
|
51 | 51 | |
52 | 52 | return $cfp; |
53 | 53 | } |