Completed
Branch develop (4c3d66)
by Mariano
11:18
created
src/Actions/PlaceholderEvaluator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/InputSources/QueryStringParam.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Common/Conditions/AllConditionsMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/InputSources/Cookie.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.