@@ -187,7 +187,7 @@ discard block  | 
                                                    ||
| 187 | 187 | /**  | 
                                                        
| 188 | 188 | * Add a child.  | 
                                                        
| 189 | 189 | * @param static $child  | 
                                                        
| 190 | - * @return boolean  | 
                                                        |
| 190 | + * @return string|false  | 
                                                        |
| 191 | 191 | */  | 
                                                        
| 192 | 192 | public function addChild($child)  | 
                                                        
| 193 | 193 |      { | 
                                                        
@@ -197,7 +197,7 @@ discard block  | 
                                                    ||
| 197 | 197 | /**  | 
                                                        
| 198 | 198 | * Event triggered before deleting itself.  | 
                                                        
| 199 | 199 | * @param ModelEvent $event  | 
                                                        
| 200 | - * @return boolean true if parentAttribute not specified.  | 
                                                        |
| 200 | + * @return boolean|null true if parentAttribute not specified.  | 
                                                        |
| 201 | 201 | * @throws IntegrityException throw if $throwRestrictException is true when $onDeleteType is on restrict.  | 
                                                        
| 202 | 202 | */  | 
                                                        
| 203 | 203 | public function onDeleteChildren($event)  | 
                                                        
@@ -229,7 +229,7 @@ discard block  | 
                                                    ||
| 229 | 229 | /**  | 
                                                        
| 230 | 230 | * Event triggered before updating itself.  | 
                                                        
| 231 | 231 | * @param ModelEvent $event  | 
                                                        
| 232 | - * @return boolean true if parentAttribute not specified.  | 
                                                        |
| 232 | + * @return boolean|null true if parentAttribute not specified.  | 
                                                        |
| 233 | 233 | * @throws IntegrityException throw if $throwRestrictException is true when $onUpdateType is on restrict.  | 
                                                        
| 234 | 234 | */  | 
                                                        
| 235 | 235 | public function onUpdateChildren($event)  |