Completed
Push — master ( bd75c7...426d7c )
by vistart
07:28
created
traits/SelfBlameableTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
      * Add a child.
246 246
      * But if children limit reached, false will be given.
247 247
      * @param static $child
248
-     * @return boolean Whether adding child succeeded or not.
248
+     * @return false|string Whether adding child succeeded or not.
249 249
      */
250 250
     public function addChild($child)
251 251
     {
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
      * Event triggered before deleting itself.
257 257
      * Note: DO NOT call it directly unless you know the consequences.
258 258
      * @param ModelEvent $event
259
-     * @return boolean true if parentAttribute not specified.
259
+     * @return boolean|null true if parentAttribute not specified.
260 260
      * @throws IntegrityException throw if $throwRestrictException is true when $onDeleteType is on restrict.
261 261
      */
262 262
     public function onDeleteChildren($event)
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
      * Event triggered before updating itself.
291 291
      * Note: DO NOT call it directly unless you know the consequences.
292 292
      * @param ModelEvent $event
293
-     * @return boolean true if parentAttribute not specified.
293
+     * @return boolean|null true if parentAttribute not specified.
294 294
      * @throws IntegrityException throw if $throwRestrictException is true when $onUpdateType is on restrict.
295 295
      */
296 296
     public function onUpdateChildren($event)
@@ -618,7 +618,7 @@  discard block
 block discarded – undo
618 618
      * Update children's parent attribute.
619 619
      * Event triggered before updating.
620 620
      * @param ModelEvent $event
621
-     * @return boolean
621
+     * @return boolean|null
622 622
      */
623 623
     public function onParentRefIdChanged($event)
624 624
     {
Please login to merge, or discard this patch.