1 | <?php |
||
8 | class AllowedRecipientsValidatorStrict |
||
9 | { |
||
10 | use ValidatesAttributes; |
||
11 | |||
12 | protected $sanitiser; |
||
13 | |||
14 | 1 | public function __construct() |
|
18 | |||
19 | /** |
||
20 | * @param $attribute |
||
21 | * @param $value |
||
22 | * @param $parameters |
||
23 | * @param $validator |
||
24 | * @return bool |
||
25 | */ |
||
26 | 1 | public function validate($attribute, $value, $parameters, $validator): bool |
|
48 | } |
||
49 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.