diff --git a/src/NestedSetsBehavior.php b/src/NestedSetsBehavior.php index 4dfee70..e21ff4f 100644 --- a/src/NestedSetsBehavior.php +++ b/src/NestedSetsBehavior.php @@ -174,7 +174,7 @@ public function afterDelete(): void ], $condition, ); - $this->shiftLeftRightAttribute($rightValue + 1, -2); + $this->shiftLeftRightAttribute($rightValue, -2); } $this->operation = null;