@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | return $response->withStatus(403); |
81 | 81 | } |
82 | 82 | |
83 | - $generator = function ($action = null) use ($request, &$tokens) { |
|
83 | + $generator = function($action = null) use ($request, &$tokens) { |
|
84 | 84 | if (empty($action)) { |
85 | 85 | $action = $request->getUri()->getPath(); |
86 | 86 | } |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | |
91 | 91 | $response = $next($request, $response); |
92 | 92 | |
93 | - $response = $this->insertIntoPostForms($response, function ($match) use ($generator) { |
|
93 | + $response = $this->insertIntoPostForms($response, function($match) use ($generator) { |
|
94 | 94 | preg_match('/action=["\']?([^"\'\s]+)["\']?/i', $match[0], $matches); |
95 | 95 | |
96 | 96 | return $match[0].$generator(isset($matches[1]) ? $matches[1] : null); |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | return; |
180 | 180 | } |
181 | 181 | |
182 | - uasort($tokens, function ($a, $b) { |
|
182 | + uasort($tokens, function($a, $b) { |
|
183 | 183 | return $a['created'] - $b['created']; |
184 | 184 | }); |
185 | 185 |