@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | public static function elementExists($selector, $by = 'byId') |
| 12 | 12 | { |
| 13 | 13 | return new WebDriverExpectedCondition( |
| 14 | - function ($driver) use ($selector, $by) { |
|
| 14 | + function($driver) use ($selector, $by) { |
|
| 15 | 15 | try { |
| 16 | 16 | $element = $driver->$by($selector); |
| 17 | 17 | return $element instanceof WebDriverElement; |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | public static function elementRemoved(WebDriverElement $element) |
| 27 | 27 | { |
| 28 | 28 | return new WebDriverExpectedCondition( |
| 29 | - function () use ($element) { |
|
| 29 | + function() use ($element) { |
|
| 30 | 30 | try { |
| 31 | 31 | $element->isDisplayed(); |
| 32 | 32 | return false; |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | |
| 99 | 99 | sort($paths); |
| 100 | 100 | $filter = $input->getArgument('filter'); |
| 101 | - if (count($paths) > 0 ) { |
|
| 101 | + if (count($paths) > 0) { |
|
| 102 | 102 | $output->writeln('Classes found: '); |
| 103 | 103 | $escape = $input->getOption('escape'); |
| 104 | 104 | |
@@ -279,7 +279,6 @@ |
||
| 279 | 279 | } |
| 280 | 280 | |
| 281 | 281 | /** |
| 282 | - |
|
| 283 | 282 | * @param string $theme |
| 284 | 283 | * @return \Magium\Themes\ThemeConfigurationInterface |
| 285 | 284 | */ |
@@ -234,7 +234,7 @@ |
||
| 234 | 234 | } |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | - public static function resolveClass( $class, $prefix = null) |
|
| 237 | + public static function resolveClass($class, $prefix = null) |
|
| 238 | 238 | { |
| 239 | 239 | $origClass = $class; |
| 240 | 240 | if ($prefix !== null) { |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | $this->webdriver->getMouse()->mouseMove($element->getCoordinates()); |
| 67 | 67 | break; |
| 68 | 68 | default: |
| 69 | - throw new InvalidConfigurationException('Unknown login instruction: ' .$instruction ); |
|
| 69 | + throw new InvalidConfigurationException('Unknown login instruction: ' . $instruction); |
|
| 70 | 70 | break; |
| 71 | 71 | } |
| 72 | 72 | } |