1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | /** |
||
6 | * Saito - The Threaded Web Forum |
||
7 | * |
||
8 | * @copyright Copyright (c) the Saito Project Developers |
||
9 | * @link https://github.com/Schlaefer/Saito |
||
10 | * @license http://opensource.org/licenses/MIT |
||
11 | */ |
||
12 | |||
13 | use Cake\Routing\Router; |
||
14 | |||
15 | // threads collection |
||
16 | // ------------------------------------- |
||
17 | |||
18 | Router::scope( |
||
19 | '/api/v2/', |
||
20 | ['plugin' => 'Api'], |
||
21 | function ($routes) { |
||
0 ignored issues
–
show
|
|||
22 | } |
||
23 | ); |
||
24 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.