@@ -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, |
@@ -8,6 +8,6 @@ |
||
| 8 | 8 | public function getValue(ServerRequestInterface $request, $argument = null) |
| 9 | 9 | { |
| 10 | 10 | $array = $request->getQueryParams(); |
| 11 | - return isset($array[$argument])? $array[$argument] : null; |
|
| 11 | + return isset($array[$argument]) ? $array[$argument] : null; |
|
| 12 | 12 | } |
| 13 | 13 | } |
@@ -8,6 +8,6 @@ |
||
| 8 | 8 | public function getValue(ServerRequestInterface $request, $argument = null) |
| 9 | 9 | { |
| 10 | 10 | $array = $request->getQueryParams(); |
| 11 | - return isset($array[$argument])? $array[$argument] : null; |
|
| 11 | + return isset($array[$argument]) ? $array[$argument] : null; |
|
| 12 | 12 | } |
| 13 | 13 | } |