1 | <?php |
||
7 | trait Escaper |
||
8 | { |
||
9 | /** |
||
10 | * Escape all values. |
||
11 | * |
||
12 | * @param array $data |
||
13 | * |
||
14 | * @return array |
||
15 | */ |
||
16 | protected function escape(array $data): array |
||
32 | |||
33 | /** |
||
34 | * Configure the validator instance. |
||
35 | * |
||
36 | * @param \Illuminate\Validation\Validator $validator |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | public function withValidator($validator): void |
||
45 | } |
||
46 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.