Skip to content

Commit f3ace20

Browse files
author
Thanos Charisoudis
authored
Update NestedSetServiceProvider.php
1 parent b4c75a4 commit f3ace20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NestedSetServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public function register()
1313
NestedSet::columns($this, $idColumn);
1414
});
1515

16-
Blueprint::macro('dropNestedSet', function (string $idColumn = 'id') {
17-
NestedSet::dropColumns($this, $idColumn);
16+
Blueprint::macro('dropNestedSet', function () {
17+
NestedSet::dropColumns($this);
1818
});
1919
}
2020
}

0 commit comments

Comments
 (0)