@@ -244,7 +244,7 @@ |
||
244 | 244 | } |
245 | 245 | |
246 | 246 | /** |
247 | - * @param mixed $value |
|
247 | + * @param string $value |
|
248 | 248 | * @return array |
249 | 249 | * @throws JSONTextDataException |
250 | 250 | */ |
@@ -293,7 +293,7 @@ discard block |
||
293 | 293 | return $this->returnAsType([]); |
294 | 294 | } |
295 | 295 | |
296 | - $count = count($data) -1; |
|
296 | + $count = count($data)-1; |
|
297 | 297 | $key = array_keys($data)[$count]; |
298 | 298 | $val = array_values($data)[$count]; |
299 | 299 | |
@@ -396,7 +396,7 @@ discard block |
||
396 | 396 | return $result; |
397 | 397 | } |
398 | 398 | } |
399 | - } else if($expressionParamIsValid) { |
|
399 | + } else if ($expressionParamIsValid) { |
|
400 | 400 | $dbBackendInst = $this->backendFactory($expression); |
401 | 401 | |
402 | 402 | if ($result = $dbBackendInst->matchOnExpr()) { |
@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | public function __construct() |
35 | 35 | { |
36 | - foreach($this->fixtures as $name => $path) { |
|
36 | + foreach ($this->fixtures as $name => $path) { |
|
37 | 37 | $this->fixtures[$name] = realpath(__DIR__) . '/' . $path; |
38 | 38 | } |
39 | 39 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function __construct() |
32 | 32 | { |
33 | - foreach($this->fixtures as $name => $path) { |
|
33 | + foreach ($this->fixtures as $name => $path) { |
|
34 | 34 | $this->fixtures[$name] = realpath(__DIR__) . '/' . $path; |
35 | 35 | } |
36 | 36 | } |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | public function __construct() |
41 | 41 | { |
42 | - foreach($this->fixtures as $name => $path) { |
|
42 | + foreach ($this->fixtures as $name => $path) { |
|
43 | 43 | $this->fixtures[$name] = realpath(__DIR__) . '/' . $path; |
44 | 44 | } |
45 | 45 | } |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | $field->setReturnType('array'); |
243 | 243 | $field->setValue($this->getFixture('object')); |
244 | 244 | $this->assertEquals( |
245 | - [['Subaru' => 'Impreza'],['Kawasaki' => 'KR1S250']], |
|
245 | + [['Subaru' => 'Impreza'], ['Kawasaki' => 'KR1S250']], |
|
246 | 246 | $field->query('#>', '{"japanese":"fast"}') |
247 | 247 | ); |
248 | 248 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | */ |
28 | 28 | public function __construct() |
29 | 29 | { |
30 | - foreach($this->fixtures as $name => $path) { |
|
30 | + foreach ($this->fixtures as $name => $path) { |
|
31 | 31 | $this->fixtures[$name] = realpath(__DIR__) . '/' . $path; |
32 | 32 | } |
33 | 33 | } |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * |
59 | 59 | * @return null |
60 | 60 | */ |
61 | - public function onBeforeWrite() |
|
61 | + public function onBeforeWrite() |
|
62 | 62 | { |
63 | 63 | parent::onBeforeWrite(); |
64 | 64 |