| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | 10 | protected function getAssets(string $tagName, string $attributeName, string $content, array $requiredOtherAttributes = []): ?Collection |
|
| 35 | { |
||
| 36 | 10 | $attributes = $this->xmlTagAttributeExtractor->getAttributeFromTag( |
|
|
|
|||
| 37 | 10 | $tagName, |
|
| 38 | $attributeName, |
||
| 39 | $content, |
||
| 40 | $requiredOtherAttributes |
||
| 41 | ); |
||
| 42 | return $this->assetFactory->createAssetsFromPaths( |
||
| 43 | $attributes['paths'], |
||
| 44 | $attributes['masks'] |
||
| 45 | ); |
||
| 48 |
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.