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.
| 1 | <?php |
||
| 9 | class ApiVersionPlugin implements Plugin |
||
| 10 | { |
||
| 11 | use Plugin\VersionBridgePlugin; |
||
| 12 | |||
| 13 | /** @var string */ |
||
| 14 | private $version; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param string $version |
||
| 18 | */ |
||
| 19 | public function __construct($version) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param RequestInterface $request |
||
| 26 | * @param callable $next Next middleware in the chain, the request is passed as the first argument |
||
| 27 | * @param callable $first First middleware in the chain, used to to restart a request |
||
| 28 | * |
||
| 29 | * @return Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception (The same as HttpAsyncClient). |
||
| 30 | */ |
||
| 31 | protected function doHandleRequest(RequestInterface $request, callable $next, callable $first) |
||
| 40 | } |
||
| 41 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.