@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Exception; |
6 | 6 | use Magium\Assertions\AbstractAssertion; |
7 | -use Magium\Assertions\AbstractSelectorAssertion; |
|
8 | 7 | use Magium\Util\Phpunit\MasterListener; |
9 | 8 | use Magium\Util\Phpunit\MasterListenerAware; |
10 | 9 | use PHPUnit_Framework_AssertionFailedError; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Facebook\WebDriver\Exception\WebDriverException; |
6 | 6 | use Facebook\WebDriver\Remote\HttpCommandExecutor; |
7 | -use Facebook\WebDriver\Remote\RemoteExecuteMethod; |
|
8 | 7 | use Facebook\WebDriver\Remote\RemoteWebDriver; |
9 | 8 | use Facebook\WebDriver\WebDriverBy; |
10 | 9 | use Facebook\WebDriver\WebDriverElement; |
@@ -53,7 +53,9 @@ |
||
53 | 53 | $max = false; |
54 | 54 | $min = PHP_INT_MAX; |
55 | 55 | foreach ($matchedParts as $part) { |
56 | - if ($part === null) continue; |
|
56 | + if ($part === null) { |
|
57 | + continue; |
|
58 | + } |
|
57 | 59 | if ($part >= $max) { |
58 | 60 | $max = $part; |
59 | 61 | } |
@@ -59,7 +59,7 @@ |
||
59 | 59 | $this->street1 = trim(array_shift($rows)); |
60 | 60 | $this->business = trim(array_shift($rows)); |
61 | 61 | //Easy |
62 | - }else if (count($rows) == 1) { |
|
62 | + } else if (count($rows) == 1) { |
|
63 | 63 | $this->street1 = trim(array_shift($rows)); |
64 | 64 | |
65 | 65 | // Not so easy |