Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class HasMethod implements FqcnSpecification |
||
11 | { |
||
12 | use ReflectionSpecificationTrait; |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $method; |
||
18 | |||
19 | public function __construct(string $method) |
||
22 | } |
||
23 | |||
24 | protected function isSatisfiedByReflection(string $fqcn, ReflectionClass $reflectionClass): bool |
||
29 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.