We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php | ||
| 18 | class Method extends AbstractRelated | ||
| 19 | { | ||
| 20 | |||
| 21 | /** | ||
| 22 | * An array of arguments that should be passed to the method. | ||
| 23 | * | ||
| 24 | * @var array | ||
| 25 | */ | ||
| 26 | protected $methodArgs = []; | ||
| 27 | |||
| 28 | 15 | public function __construct($reference, Validatable $validator = null, $mandatory = true, $methodArgs = []) | |
| 36 | |||
| 37 | 6 | public function getReferenceValue($input) | |
| 44 | |||
| 45 | 12 | public function hasReference($input) | |
| 49 | } | ||
| 50 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.