Completed
Pull Request — master (#127)
by Kevin
07:07
created
lib/Actions/SetFormValue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     public function setById($id, $value)
31 31
     {
32
-        $this->set('id:' . $id, $value);
32
+        $this->set('id:'.$id, $value);
33 33
     }
34 34
 
35 35
     public function set($name, $value)
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         } else {
42 42
             $element = $this->webDriver->byXpath(sprintf('//label[.="%s"]', $name));
43 43
             if (!$element->getAttribute('for')) {
44
-                throw new NotFoundException('Unable to find the "for" attribute for a label with the text: ' . $name);
44
+                throw new NotFoundException('Unable to find the "for" attribute for a label with the text: '.$name);
45 45
             }
46 46
             $formElement = $this->webDriver->byId($element->getAttribute('for'));
47 47
         }
Please login to merge, or discard this patch.