| Conditions | 4 |
| Paths | 8 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function __construct(array $attributes) |
||
| 38 | { |
||
| 39 | if (isset($attributes['title'])) { |
||
| 40 | $this->setTitle($attributes['title']); |
||
| 41 | } |
||
| 42 | |||
| 43 | if (isset($attributes['value'])) { |
||
| 44 | $this->setValue($attributes['value']); |
||
| 45 | } |
||
| 46 | |||
| 47 | if (isset($attributes['short'])) { |
||
| 48 | $this->setShort($attributes['short']); |
||
|
|
|||
| 49 | } |
||
| 50 | } |
||
| 51 | |||
| 108 |
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.