@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | /** |
122 | 122 | * Event triggered before deleting itself. |
123 | 123 | * @param \yii\base\ModelEvent $event |
124 | - * @return boolean true if parentAttribute not specified. |
|
124 | + * @return boolean|null true if parentAttribute not specified. |
|
125 | 125 | * @throws \yii\db\IntegrityException throw if $throwRestrictException is true when $onDeleteType is on restrict. |
126 | 126 | */ |
127 | 127 | public function onDeleteChildren($event) |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | /** |
154 | 154 | * Event triggered before updating itself. |
155 | 155 | * @param \yii\base\ModelEvent $event |
156 | - * @return boolean true if parentAttribute not specified. |
|
156 | + * @return boolean|null true if parentAttribute not specified. |
|
157 | 157 | * @throws \yii\db\IntegrityException throw if $throwRestrictException is true when $onUpdateType is on restrict. |
158 | 158 | */ |
159 | 159 | public function onUpdateChildren($event) |