@@ -91,8 +91,7 @@ public function drop($alias) {
91
91
* @param array $associations The list of associations to save parents from.
92
92
* associations not in this list will not be saved.
93
93
* @param array $options The options for the save operation.
94
- * @return Entity modified entity
95
- * @throws new \InvalidArgumentExceptio when an unknown alias is used.
94
+ * @return Entity Modified entity
96
95
*/
97
96
public function saveParents (Table $ table , Entity $ entity , $ associations , $ options = []) {
98
97
if (empty ($ associations )) {
@@ -113,7 +112,7 @@ public function saveParents(Table $table, Entity $entity, $associations, $option
113
112
* @param array $associations The list of associations to save children from.
114
113
* associations not in this list will not be saved.
115
114
* @param array $options The options for the save operation.
116
- * @return boolean success
115
+ * @return Entity Modified entity
117
116
*/
118
117
public function saveChildren (Table $ table , Entity $ entity , $ associations , $ options ) {
119
118
if (empty ($ associations )) {
@@ -131,7 +130,8 @@ public function saveChildren(Table $table, Entity $entity, $associations, $optio
131
130
* @param array $options Original options
132
131
* @param boolean $owningSide Compared with association classes'
133
132
* isOwningSide method.
134
- * @return void
133
+ * @return Entity modified entity.
134
+ * @throws new \InvalidArgumentException When an unknown alias is used.
135
135
*/
136
136
protected function _saveAssociations ($ table , $ entity , $ associations , $ options , $ owningSide ) {
137
137
foreach ($ associations as $ alias => $ nested ) {
0 commit comments