Skip to content

Commit

Permalink
fix method name
Browse files Browse the repository at this point in the history
Refs:#11817
  • Loading branch information
saeideng committed Mar 13, 2018
1 parent 257313d commit f310d52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ORM/Table.php
Expand Up @@ -745,8 +745,8 @@ public function getDisplayField()
public function displayField($key = null)
{
deprecationWarning(
get_called_class() . '::displayKey() is deprecated. ' .
'Use setDisplayKey()/getDisplayKey() instead.'
get_called_class() . '::displayField() is deprecated. ' .
'Use setDisplayField()/getDisplayField() instead.'
);
if ($key !== null) {
return $this->setDisplayField($key);
Expand Down

0 comments on commit f310d52

Please sign in to comment.