We have detected an error in your notification set-up
(Event-ID dab39dc24f564ec7bd4628d1305fd03c).
Currently, we cannot inform you about inspection progress.
Please check that the user
557058:bca11929-8c2d-43f2-8a82-c5416880d395
still has access to your repository or
update the API account.
Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | protected function doHandleRequest(RequestInterface $request, callable $next, callable $first) |
||
37 | { |
||
38 | // Transform: "foo[0]=xxx&foo[1]=yyy" to "foo=xxx&foo=yyy" |
||
39 | $request = $request->withUri( |
||
40 | $request->getUri()->withQuery( |
||
41 | preg_replace('/%5B(?:[0-9]|[1-9][0-9]+)%5D=/', '=', $request->getUri()->getQuery()) |
||
42 | ) |
||
43 | ); |
||
44 | |||
45 | return $next($request); |
||
46 | } |
||
47 | } |
||
48 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.