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