Skip to content
Permalink
Browse files

fix method name

Refs:#11817
  • Loading branch information...
saeideng committed Mar 13, 2018
1 parent 257313d commit f310d527c27b3118b098dd77e9ba789fc851ca62
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ORM/Table.php
@@ -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);

0 comments on commit f310d52

Please sign in to comment.
You can’t perform that action at this time.