for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace VideoGamesRecords\CoreBundle\Ranking\Command\RankUpdate;
use Doctrine\ORM\EntityManagerInterface;
use VideoGamesRecords\CoreBundle\Contracts\Ranking\RankUpdateInterface;
abstract class AbstractRankUpdateHandler implements RankUpdateInterface
{
protected EntityManagerInterface $em;
public function __construct(EntityManagerInterface $em)
$this->em = $em;
}
public function handle($mixed): void
$mixed
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function handle(/** @scrutinizer ignore-unused */ $mixed): void
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.