Issues (326)

plugins/Api/config/routes.php (1 issue)

Severity
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
The parameter $routes is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

21
    function (/** @scrutinizer ignore-unused */ $routes) {

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
22
    }
23
);
24