Completed
Push — master ( 80ec02...383790 )
by Andreas
9s
created
src/Parser/Lanyrd/Entry.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
             $content = file_Get_contents($uri);
58 58
             $content = mb_convert_encoding($content, 'UTF-8');
59
-            $dom->loadHTML('<?xml version="1.0" charset="UTF-8" ?>' . $content);
59
+            $dom->loadHTML('<?xml version="1.0" charset="UTF-8" ?>'.$content);
60 60
             $dom->preserveWhiteSpace = false;
61 61
 
62 62
             $timezone = 'UTC';
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     {
156 156
         $confPath = $xpath->query("//h3/a[contains(@class, 'summary')]");
157 157
 
158
-        if (! $confPath || $confPath->length == 0) {
158
+        if (!$confPath || $confPath->length == 0) {
159 159
             throw new \InvalidArgumentException('We can\'t find an EventPage');
160 160
         }
161 161
 
@@ -167,9 +167,9 @@  discard block
 block discarded – undo
167 167
                 'verify_peer_name' => false,
168 168
             ]
169 169
         ]);
170
-        $content = file_get_contents('https://lanyrd.com' . $confPath->item(0)->attributes->getNamedItem('href')->textContent, false, $context);
170
+        $content = file_get_contents('https://lanyrd.com'.$confPath->item(0)->attributes->getNamedItem('href')->textContent, false, $context);
171 171
         $content = mb_convert_encoding($content, 'UTF-8');
172
-        $dom->loadHTML('<?xml version="1.0" charset="UTF-8" ?>' . $content);
172
+        $dom->loadHTML('<?xml version="1.0" charset="UTF-8" ?>'.$content);
173 173
         $dom->preserveWhiteSpace = false;
174 174
 
175 175
         return $dom;
Please login to merge, or discard this patch.