Skip to content

Commit f86e4d9

Browse files
committed
fix: Remove unnecessary return statement in NestedSetsBehavior class.
1 parent 488ed11 commit f86e4d9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/NestedSetsBehavior.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,6 @@ public function afterUpdate(): void
260260
if ($this->operation === self::OPERATION_MAKE_ROOT) {
261261
$this->moveNodeAsRoot($currentOwnerTreeValue);
262262
$this->invalidateCache();
263-
264-
return;
265263
}
266264

267265
if ($this->node === null) {

0 commit comments

Comments
 (0)