Conditions | 2 |
Paths | 2 |
Total Lines | 17 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | public function getSchemaDataDefaults() |
||
31 | { |
||
32 | $schemaData = parent::getSchemaDataDefaults(); |
||
33 | |||
34 | $fonts = []; |
||
35 | foreach ($this->getSource() as $css => $title) { |
||
36 | $fonts[] = [ |
||
37 | 'CSSClass' => $css, |
||
38 | 'Title' => $title, |
||
39 | ]; |
||
40 | } |
||
41 | |||
42 | $schemaData['source'] = $fonts; |
||
43 | $schemaData['name'] = $this->getName(); |
||
44 | $schemaData['value'] = $this->Value(); |
||
45 | |||
46 | return $schemaData; |
||
47 | } |
||
54 |
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.