Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class UseTrait implements FqcnSpecification |
||
11 | { |
||
12 | use ReflectionSpecificationTrait; |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $trait; |
||
18 | |||
19 | public function __construct(string $trait) |
||
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.