| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 61 | public function getThumbnail(){ |
||
| 62 | if($this->owner->ID){ |
||
| 63 | |||
| 64 | if($this->owner->getExtension() == 'svg'){ |
||
| 65 | $obj= DBHTMLText::create(); |
||
| 66 | $obj->setValue(file_get_contents(BASE_PATH.$this->owner->Link())); |
||
| 67 | return ($obj); |
||
| 68 | }else { |
||
| 69 | return $this->owner->CMSThumbnail(); |
||
| 70 | } |
||
| 71 | } |
||
| 72 | else |
||
| 73 | { |
||
| 74 | return '(No Image)'; |
||
| 75 | } |
||
| 78 |
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.