Test Failed
Push — master ( d01340...a1fd61 )
by Robert
03:04
created
src/PantherDriver.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             'setRemoveHostFromUrl() is deprecated as of 1.2 and will be removed in 2.0. Pass the base url in the constructor instead.',
104 104
             E_USER_DEPRECATED
105 105
         );
106
-        $this->removeHostFromUrl = (bool)$remove;
106
+        $this->removeHostFromUrl = (bool) $remove;
107 107
     }
108 108
 
109 109
     /**
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             'setRemoveScriptFromUrl() is deprecated as of 1.2 and will be removed in 2.0. Pass the base url in the constructor instead.',
120 120
             E_USER_DEPRECATED
121 121
         );
122
-        $this->removeScriptFromUrl = (bool)$remove;
122
+        $this->removeScriptFromUrl = (bool) $remove;
123 123
     }
124 124
 
125 125
     /**
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 
263 263
         $jar = $this->client->getCookieJar();
264 264
         // @see: https://github.com/w3c/webdriver/issues/1238
265
-        $jar->set(new Cookie($name, \rawurlencode((string)$value)));
265
+        $jar->set(new Cookie($name, \rawurlencode((string) $value)));
266 266
     }
267 267
 
268 268
     /**
@@ -553,7 +553,7 @@  discard block
 block discarded – undo
553 553
         }
554 554
 
555 555
         if ($multiple) {
556
-            $oldValue = (array)$field->getValue();
556
+            $oldValue = (array) $field->getValue();
557 557
             $oldValue[] = $value;
558 558
             $value = $oldValue;
559 559
         }
@@ -644,7 +644,7 @@  discard block
 block discarded – undo
644 644
     public function evaluateScript($script)
645 645
     {
646 646
         if (0 !== \strpos(\trim($script), 'return ')) {
647
-            $script = 'return ' . $script;
647
+            $script = 'return '.$script;
648 648
         }
649 649
 
650 650
         return $this->client->executeScript($script);
Please login to merge, or discard this patch.