@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function __construct() |
| 30 | 30 | { |
| 31 | - foreach($this->fixtures as $name => $path) { |
|
| 31 | + foreach ($this->fixtures as $name => $path) { |
|
| 32 | 32 | $this->fixtures[$name] = MODULE_DIR . '/' . $path; |
| 33 | 33 | } |
| 34 | 34 | } |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | */ |
| 53 | 53 | public function __construct() |
| 54 | 54 | { |
| 55 | - foreach($this->fixtures as $name => $path) { |
|
| 55 | + foreach ($this->fixtures as $name => $path) { |
|
| 56 | 56 | $this->fixtures[$name] = MODULE_DIR . '/' . $path; |
| 57 | 57 | } |
| 58 | 58 | } |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | $field->setReturnType('array'); |
| 279 | 279 | $field->setValue($this->getFixture('object')); |
| 280 | 280 | $this->assertEquals( |
| 281 | - [['Subaru' => 'Impreza'],['Kawasaki' => 'KR1S250']], |
|
| 281 | + [['Subaru' => 'Impreza'], ['Kawasaki' => 'KR1S250']], |
|
| 282 | 282 | $field->query('#>', '{"japanese":"fast"}') |
| 283 | 283 | ); |
| 284 | 284 | |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function __construct() |
| 30 | 30 | { |
| 31 | - foreach($this->fixtures as $name => $path) { |
|
| 31 | + foreach ($this->fixtures as $name => $path) { |
|
| 32 | 32 | $this->fixtures[$name] = MODULE_DIR . '/' . $path; |
| 33 | 33 | } |
| 34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function __construct() |
| 30 | 30 | { |
| 31 | - foreach($this->fixtures as $name => $path) { |
|
| 31 | + foreach ($this->fixtures as $name => $path) { |
|
| 32 | 32 | $this->fixtures[$name] = MODULE_DIR . '/' . $path; |
| 33 | 33 | } |
| 34 | 34 | } |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | return $this->returnAsType([]); |
| 289 | 289 | } |
| 290 | 290 | |
| 291 | - $count = count($data) -1; |
|
| 291 | + $count = count($data)-1; |
|
| 292 | 292 | $key = array_keys($data)[$count]; |
| 293 | 293 | $val = array_values($data)[$count]; |
| 294 | 294 | |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | return $result; |
| 390 | 390 | } |
| 391 | 391 | } |
| 392 | - } else if($expressionParamIsValid) { |
|
| 392 | + } else if ($expressionParamIsValid) { |
|
| 393 | 393 | $dbBackendInst = $this->createBackendInst($expression); |
| 394 | 394 | if ($result = $dbBackendInst->matchOnExpr()) { |
| 395 | 395 | return $result; |