Completed
Push — master ( 2c4486...36c3d6 )
by Kosuha
04:23
created
src/ZendBasedParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     {
88 88
         if ($this->getLastUrl() !== $this->getUrl()) {
89 89
             $bin = PhantomBinary::BIN;
90
-            $command = $bin.' '.__DIR__.'/nodejs/loadspeed.js ' . $this->url;
90
+            $command = $bin.' '.__DIR__.'/nodejs/loadspeed.js '.$this->url;
91 91
             $result = shell_exec($command);
92 92
             $this
93 93
                 ->setHtmlBuffer('<meta charset="UTF-8" />'.$result)
@@ -121,9 +121,9 @@  discard block
 block discarded – undo
121 121
      * @return Query
122 122
      * @throws ParserInvalidConfigException
123 123
      */
124
-    public function dom($encoding = 'UTF-8', $type='curl'): Query
124
+    public function dom($encoding = 'UTF-8', $type = 'curl'): Query
125 125
     {
126
-        if ($type==='curl') {
126
+        if ($type === 'curl') {
127 127
             if (!in_array('curl', get_loaded_extensions())) {
128 128
                 throw new ParserInvalidConfigException('The curl extension in not loaded in system');
129 129
             }
Please login to merge, or discard this patch.