Completed
Pull Request — master (#28)
by Andreas
01:52
created
src/Parser/PapercallIo/Uri.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,11 +43,11 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.