Completed
Pull Request — master (#204)
by Kevin
03:01
created
lib/Navigators/InstructionNavigator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
                     $element = $this->webdriver->byXpath($xpath);
73 73
                     $this->webdriver->action()->moveToElement($element);
74 74
                     if (!$element->isDisplayed()) {
75
-                        throw new ElementNotVisibleException('The element is not visible: ' . $xpath);
75
+                        throw new ElementNotVisibleException('The element is not visible: '.$xpath);
76 76
                     }
77 77
                     $element->click();
78 78
                     break;
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
                 case self::INSTRUCTION_WAIT_FOR_NOT_EXISTS:
87 87
                     $this->webdriver->wait()->until(
88 88
                         ExpectedCondition::not(
89
-                            ExpectedCondition::elementExists( $xpath, WebDriver::BY_XPATH)
89
+                            ExpectedCondition::elementExists($xpath, WebDriver::BY_XPATH)
90 90
                         )
91 91
                     );
92 92
                     break;
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
                     );
109 109
                     break;
110 110
                 default:
111
-                    throw new InvalidConfigurationException('Unknown login instruction: ' .$instruction );
111
+                    throw new InvalidConfigurationException('Unknown login instruction: '.$instruction);
112 112
             }
113 113
         }
114 114
 
Please login to merge, or discard this patch.