| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | protected function adminBSBIcon($name, $style, $class = null) { |
||
| 41 | |||
| 42 | // Initialize the attributes. |
||
| 43 | $attributes = []; |
||
| 44 | |||
| 45 | $attributes["class"] = ["material-icons", $class]; |
||
| 46 | $attributes["style"] = $style; |
||
| 47 | |||
| 48 | // Initialize the parameters. |
||
| 49 | $innerHTML = null !== $name ? $name : "home"; |
||
| 50 | |||
| 51 | // Return the HTML. |
||
| 52 | return self::bootstrapHTMLElement("i", $innerHTML, $attributes); |
||
|
|
|||
| 53 | } |
||
| 54 | |||
| 56 |
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.