From 5db1ae9ce3347476018f76d24013ec0ea8250195 Mon Sep 17 00:00:00 2001 From: saeideng Date: Mon, 14 May 2018 01:52:36 +0430 Subject: [PATCH] fix deprecationWarning message --- src/ORM/Table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ORM/Table.php b/src/ORM/Table.php index bc1ac97e63f..a4979a8cc03 100644 --- a/src/ORM/Table.php +++ b/src/ORM/Table.php @@ -960,13 +960,13 @@ public function hasBehavior($name) /** * Returns an association object configured for the specified alias if any. * - * @deprecated 3.6.0 Use getAssociation() and Table::hasAssocation() instead. + * @deprecated 3.6.0 Use getAssociation() and Table::hasAssociation() instead. * @param string $name the alias used for the association. * @return \Cake\ORM\Association|null Either the association or null. */ public function association($name) { - deprecationWarning('Use Table::getAssociation() and Table::hasAssocation() instead.'); + deprecationWarning('Use Table::getAssociation() and Table::hasAssociation() instead.'); return $this->findAssociation($name); }