PlanAggregate   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A execute() 0 2 1
A fetch() 0 2 1
1
<?php
2
declare(strict_types=1);
3
/**
4
 * Application Service Class
5
 * @package Ticaje_BookingApi
6
 * @author  Hector Luis Barrientos <[email protected]>
7
 */
8
9
namespace Ticaje\BookingApi\Application\Service\Provider\Package;
10
11
use Ticaje\BookingApi\Application\Signatures\Provider\Package\PlanProviderSignature;
12
use Ticaje\Hexagonal\Application\Signatures\UseCase\UseCaseCommandInterface;
13
14
/**
15
 * Class Plan
16
 * @package Ticaje\BookingApi\Application\Service\Provider
17
 */
18
class PlanAggregate implements PlanProviderSignature
19
{
20
    /**
21
     * @inheritDoc
22
     */
23
    public function fetch(UseCaseCommandInterface $command)
0 ignored issues
show
Unused Code introduced by
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

23
    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.

Loading history...
24
    {
25
        // TODO: Implement fetch() method.
26
    }
27
28
    public function execute(UseCaseCommandInterface $command)
29
    {
30
        // TODO: Implement execute() method.
31
    }
32
}
33