| 1 | <?php |
||
| 9 | class Field implements FieldInterface |
||
| 10 | { |
||
| 11 | protected $table; |
||
| 12 | protected $info; |
||
| 13 | protected $config = []; |
||
| 14 | |||
| 15 | public function __construct(Table $table, array $info) |
||
| 20 | |||
| 21 | public function getName(): string |
||
| 25 | |||
| 26 | public function __toString() |
||
| 30 | |||
| 31 | public function insert(Insert $query, $value) |
||
| 35 | |||
| 36 | public function update(Update $query, $value) |
||
| 40 | |||
| 41 | public function format($value) |
||
| 49 | |||
| 50 | public function getConfig(string $name) |
||
| 54 | |||
| 55 | public function setConfig(string $name, $value) |
||
| 59 | |||
| 60 | protected function formatToDatabase($value) |
||
| 64 | |||
| 65 | /** |
||
| 66 | * Return the default value |
||
| 67 | */ |
||
| 68 | public function getDefaultValue() |
||
| 72 | } |
||
| 73 |
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.