@@ -406,7 +406,7 @@  | 
                                                    ||
| 406 | 406 |              $value = $element->getAttribute('value'); | 
                                                        
| 407 | 407 | }  | 
                                                        
| 408 | 408 | |
| 409 | - return $value;  | 
                                                        |
| 409 | + return $value;  | 
                                                        |
| 410 | 410 | }  | 
                                                        
| 411 | 411 | |
| 412 | 412 | /**  | 
                                                        
@@ -103,7 +103,7 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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  | 
                                                    ||
| 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 | /**  | 
                                                        
@@ -645,7 +645,7 @@ discard block  | 
                                                    ||
| 645 | 645 |      { | 
                                                        
| 646 | 646 |          if (\preg_match('/^function[\s\(]/', $script)) { | 
                                                        
| 647 | 647 |              $script = \preg_replace('/;$/', '', $script); | 
                                                        
| 648 | -            $script = '(' . $script . ')'; | 
                                                        |
| 648 | +            $script = '('.$script.')'; | 
                                                        |
| 649 | 649 | }  | 
                                                        
| 650 | 650 | |
| 651 | 651 | return $this->client->executeScript($script);  | 
                                                        
@@ -657,7 +657,7 @@ discard block  | 
                                                    ||
| 657 | 657 | public function evaluateScript($script)  | 
                                                        
| 658 | 658 |      { | 
                                                        
| 659 | 659 |          if (0 !== \strpos(\trim($script), 'return ')) { | 
                                                        
| 660 | - $script = 'return ' . $script;  | 
                                                        |
| 660 | + $script = 'return '.$script;  | 
                                                        |
| 661 | 661 | }  | 
                                                        
| 662 | 662 | |
| 663 | 663 | return $this->client->executeScript($script);  |