| Total Complexity | 4 | 
| Total Lines | 19 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 7 | class ValidatorTestMainModel implements DataSetInterface  | 
            ||
| 8 | { | 
            ||
| 9 | public $testMainVal = 1;  | 
            ||
| 10 | |||
| 11 | public function getValue(string $key)  | 
            ||
| 12 |     { | 
            ||
| 13 |         if (property_exists(self::class, $key)) { | 
            ||
| 14 | return $this->$key;  | 
            ||
| 15 | }  | 
            ||
| 16 | }  | 
            ||
| 17 | |||
| 18 | public static function tableName()  | 
            ||
| 21 | }  | 
            ||
| 22 | |||
| 23 | public function getReferences()  | 
            ||
| 26 | }  | 
            ||
| 27 | }  | 
            ||
| 28 | 
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.