| Conditions | 4 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | protected function run(): string |
||
| 27 | { |
||
| 28 | $tag = LabelTag::tag()->content( |
||
| 29 | $this->content ?? $this->getAttributeLabel() |
||
| 30 | ); |
||
| 31 | |||
| 32 | if ( |
||
| 33 | $this->setForAttribute |
||
| 34 | && $this->useInputIdAttribute |
||
| 35 | && $tag->getAttribute('for') === null |
||
|
|
|||
| 36 | ) { |
||
| 37 | $tag = $tag->forId($this->forId ?? $this->getInputId()); |
||
| 38 | } |
||
| 39 | |||
| 40 | return $tag->render(); |
||
| 41 | } |
||
| 82 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.