Failed Conditions
Pull Request — master (#28)
by Dallas
08:29
created

src/Compilers/DropTriggerCompiler.php (3 issues)

Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Umbrellio\Postgres\Compilers;
6
7
use Illuminate\Database\Schema\Blueprint;
8
use Illuminate\Database\Schema\Grammars\Grammar;
9
use Umbrellio\Postgres\Schema\Builders\Routines\DropTriggerBuilder;
10
11
class DropTriggerCompiler
12
{
13
    public static function compile(Grammar $grammar, Blueprint $blueprint, DropTriggerBuilder $command): array
0 ignored issues
show
The parameter $grammar 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

13
    public static function compile(/** @scrutinizer ignore-unused */ Grammar $grammar, Blueprint $blueprint, DropTriggerBuilder $command): array

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...
The parameter $command 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

13
    public static function compile(Grammar $grammar, Blueprint $blueprint, /** @scrutinizer ignore-unused */ DropTriggerBuilder $command): array

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...
The parameter $blueprint 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

13
    public static function compile(Grammar $grammar, /** @scrutinizer ignore-unused */ Blueprint $blueprint, DropTriggerBuilder $command): array

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...
14
    {
15
        return [];
16
    }
17
}
18