@@ -23,7 +23,7 @@ |
||
| 23 | 23 | static $files = []; |
| 24 | 24 | |
| 25 | 25 | if (empty($files[$filename])) { |
| 26 | - $path = str_replace('Utils', 'JavaScript', __DIR__) . "/$filename.js"; |
|
| 26 | + $path = str_replace('Utils', 'JavaScript', __DIR__)."/$filename.js"; |
|
| 27 | 27 | |
| 28 | 28 | if (!file_exists($path)) { |
| 29 | 29 | throw new \RuntimeException(sprintf('File "%s" does not exists!', $path)); |
@@ -211,7 +211,7 @@ |
||
| 211 | 211 | } |
| 212 | 212 | |
| 213 | 213 | $selector = DrupalKernelPlaceholder::t($selector); |
| 214 | - $element = $this->{'find' . $map[$locator]}($selector); |
|
| 214 | + $element = $this->{'find'.$map[$locator]}($selector); |
|
| 215 | 215 | $this->throwNoSuchElementException($selector, $element); |
| 216 | 216 | |
| 217 | 217 | return $element; |
@@ -73,6 +73,6 @@ |
||
| 73 | 73 | throw new \RuntimeException('An ID cannot be zero.'); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | - return $this->entityType() . "/$id$operation"; |
|
| 76 | + return $this->entityType()."/$id$operation"; |
|
| 77 | 77 | } |
| 78 | 78 | } |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | */ |
| 84 | 84 | private function datePicker(array $arguments) |
| 85 | 85 | { |
| 86 | - return $this->jQuery(sprintf("datepicker(%s);", implode(', ', array_map(function ($value) { |
|
| 86 | + return $this->jQuery(sprintf("datepicker(%s);", implode(', ', array_map(function($value) { |
|
| 87 | 87 | return in_array($value, ['<date>']) ? $this->jsDate : "'$value'"; |
| 88 | 88 | }, $arguments)))); |
| 89 | 89 | } |