@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | return preg_replace_callback( |
22 | 22 | '/\{\{\s*(var|uri|get|post|header|cookie|method)(?:\.([a-z0-9-_]+))?\s*\}\}/i', |
23 | - function ($matches) use ($transactiondata) { |
|
23 | + function($matches) use ($transactiondata) { |
|
24 | 24 | return $this->getValueFromPlaceholder( |
25 | 25 | $matches[1], |
26 | 26 | isset($matches[2]) ? $matches[2] : null, |
@@ -9,6 +9,6 @@ |
||
9 | 9 | public function getValue(ServerRequestInterface $request) |
10 | 10 | { |
11 | 11 | $array = $request->getQueryParams(); |
12 | - return isset($array[$this->argument])? $array[$this->argument] : null; |
|
12 | + return isset($array[$this->argument]) ? $array[$this->argument] : null; |
|
13 | 13 | } |
14 | 14 | } |
@@ -16,7 +16,7 @@ |
||
16 | 16 | foreach ($conditions as $condition) { |
17 | 17 | $inputSource = $this->getInputSource($condition); |
18 | 18 | $matcher = $this->getMatcher($condition); |
19 | - if (! $matcher->match($inputSource->getValue($request))) { |
|
19 | + if (!$matcher->match($inputSource->getValue($request))) { |
|
20 | 20 | return false; |
21 | 21 | } |
22 | 22 | } |
@@ -9,6 +9,6 @@ |
||
9 | 9 | public function getValue(ServerRequestInterface $request) |
10 | 10 | { |
11 | 11 | $array = $request->getQueryParams(); |
12 | - return isset($array[$this->argument])? $array[$this->argument] : null; |
|
12 | + return isset($array[$this->argument]) ? $array[$this->argument] : null; |
|
13 | 13 | } |
14 | 14 | } |