Browse Source

Fix docblock of TranslateBehavior::buildMarshalMap()

Translations under `_translations` are marshaled by default. You don't need to set 'translations' to `true`.
ADmad 8 years ago
parent
commit
2ea650db52
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/ORM/Behavior/TranslateBehavior.php

+ 3 - 3
src/ORM/Behavior/TranslateBehavior.php

@@ -370,9 +370,9 @@ class TranslateBehavior extends Behavior implements PropertyMarshalInterface
     }
 
     /**
-     * Add in _translations marshalling handlers if translation marshalling is
-     * enabled. You need to specifically enable translation marshalling by adding
-     * `'translations' => true` to the options provided to `Table::newEntity()` or `Table::patchEntity()`.
+     * Add in `_translations` marshalling handlers. You can disable marshalling
+     * of translations by setting `'translations' => false` in the options
+     * provided to `Table::newEntity()` or `Table::patchEntity()`.
      *
      * {@inheritDoc}
      */