Issues (61)

app/Policies/GdaemonApiPolicy.php (1 issue)

Severity
1
<?php
2
3
namespace Gameap\Policies;
4
5
use Gameap\Models\DedicatedServer;
6
7
class GdaemonApiPolicy
8
{
9
    public function before(DedicatedServer $dedicatedServer): void
0 ignored issues
show
The parameter $dedicatedServer 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

9
    public function before(/** @scrutinizer ignore-unused */ DedicatedServer $dedicatedServer): void

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...
10
    {
11
    }
12
}
13