for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* Application Service Class
* @package Ticaje_BookingApi
* @author Hector Luis Barrientos <[email protected]>
*/
namespace Ticaje\BookingApi\Application\Service\Provider\Package;
use Ticaje\BookingApi\Application\Signatures\Provider\Package\PlanProviderSignature;
use Ticaje\Hexagonal\Application\Signatures\UseCase\UseCaseCommandInterface;
* Class Plan
* @package Ticaje\BookingApi\Application\Service\Provider
class PlanAggregate implements PlanProviderSignature
{
* @inheritDoc
public function fetch(UseCaseCommandInterface $command)
$command
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function fetch(/** @scrutinizer ignore-unused */ UseCaseCommandInterface $command)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
// TODO: Implement fetch() method.
}
public function execute(UseCaseCommandInterface $command)
// TODO: Implement execute() method.
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.