|
@@ -99,7 +99,7 @@ discard block |
|
|
block discarded – undo |
|
99
|
99
|
|
|
100
|
100
|
$response = $next($request, $response); |
|
101
|
101
|
|
|
102
|
|
- return $this->insertIntoPostForms($response, function ($match) use ($request) { |
|
|
102
|
+ return $this->insertIntoPostForms($response, function($match) use ($request) { |
|
103
|
103
|
preg_match('/action=["\']?([^"\'\s]+)["\']?/i', $match[0], $matches); |
|
104
|
104
|
|
|
105
|
105
|
$action = empty($matches[1]) ? $request->getUri()->getPath() : $matches[1]; |
|
@@ -182,7 +182,7 @@ discard block |
|
|
block discarded – undo |
|
182
|
182
|
return; |
|
183
|
183
|
} |
|
184
|
184
|
|
|
185
|
|
- uasort($this->storage, function ($a, $b) { |
|
|
185
|
+ uasort($this->storage, function($a, $b) { |
|
186
|
186
|
return $a['created'] - $b['created']; |
|
187
|
187
|
}); |
|
188
|
188
|
|
Please login to merge, or discard this patch.