Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function message(): string |
||
30 | { |
||
31 | return sprintf( |
||
32 | 'Parameter <info>%s</info> of function <info>%s</info> defined in <comment>%s</comment> ' . |
||
33 | 'does not have a type hint.', |
||
34 | $this->parameter->getName(), |
||
35 | $this->parameter->getDeclaringFunction()->getName(), |
||
36 | $this->parameter->getDeclaringFunction()->getFileName() |
||
37 | ); |
||
38 | } |
||
39 | } |
||
40 |