Browse Source

Fix method name in docblock

ADmad 11 years ago
parent
commit
e7fa6ffcdf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ORM/Table.php

+ 1 - 1
src/ORM/Table.php

@@ -571,7 +571,7 @@ class Table implements RepositoryInterface, EventListenerInterface {
  * as argument:
  *
  * {{{
- * $this->Posts->associations([
+ * $this->Posts->addAssociations([
  *   'belongsTo' => [
  *     'Users' => ['className' => 'App\Model\Table\UsersTable']
  *   ],