| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | abstract class DOMElementAsSoapHeaderElement implements XmlInjectable |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var DOMElement |
||
| 19 | */ |
||
| 20 | private $element; |
||
| 21 | |||
| 22 | 2 | public function inject(DOMDocument $dom): void |
|
| 23 | { |
||
| 24 | 2 | $this->element->inject($dom); |
|
|
|
|||
| 25 | 2 | } |
|
| 26 | |||
| 27 | 2 | public function __construct(DOMElement $element) |
|
| 33 | ); |
||
| 34 | 2 | } |
|
| 36 |
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.