| 1 | <?php  | 
            ||
| 18 | class CurrencyConverterHandler  | 
            ||
| 19 | { | 
            ||
| 20 | private $converter;  | 
            ||
| 21 | private $context;  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * Construct.  | 
            ||
| 25 | *  | 
            ||
| 26 | * @param CurrencyConverterInterface $converter  | 
            ||
| 27 | * @param CurrencyContextInterface $context  | 
            ||
| 28 | */  | 
            ||
| 29 | public function __construct(CurrencyConverterInterface $converter, CurrencyContextInterface $context)  | 
            ||
| 34 | |||
| 35 | public function serializeToJson(JsonSerializationVisitor $visitor, PriceableInterface $subscription)  | 
            ||
| 43 | }  | 
            ||
| 44 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.