Skip to content

Commit

Permalink
Update deprecated method usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad authored Apr 26, 2018
1 parent 84076d5 commit 88f5a60
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/View/Helper/CrudViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,8 @@ public function introspect($field, $value, array $options = [])
public function columnType($field)
{
$schema = $this->schema();
if (method_exists($schema, 'baseColumnType')) {
return $schema->baseColumnType($field);
}

return $schema->columnType($field);
return $schema->getColumnType($field);
}

/**
Expand Down

0 comments on commit 88f5a60

Please sign in to comment.