Skip to content

Commit

Permalink
Adjust deprecation texts.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Jan 16, 2018
1 parent f7b3e0b commit 1c3d6af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ORM/Table.php
Expand Up @@ -936,7 +936,7 @@ public function hasBehavior($name)
/**
* Returns an association object configured for the specified alias if any.
*
* @deprecated 3.6.0 Use getAssociation() instead.
* @deprecated 3.6.0 Use getAssociation() and Table::hasAssocation() instead.
* @param string $name the alias used for the association.
* @return \Cake\ORM\Association|null Either the association or null.
*/
Expand All @@ -948,7 +948,7 @@ public function association($name)
}

/**
* Returns an association object configured for the specified alias if any.
* Returns an association object configured for the specified alias.
*
* The name argument also supports dot syntax to access deeper associations.
*
Expand Down

0 comments on commit 1c3d6af

Please sign in to comment.