We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 03ca1e9 + 4d9eec8 commit cfb433fCopy full SHA for cfb433f
src/Support/Utils.php
@@ -27,9 +27,9 @@ public static function titleColumnName(): string
27
return config('filament-tree.column_name.title', 'title');
28
}
29
30
- public static function defaultParentId(): int
+ public static function defaultParentId(): int|null
31
{
32
- return (int) config('filament-tree.default_parent_id', -1);
+ return config('filament-tree.default_parent_id', -1);
33
34
35
public static function defaultChildrenKeyName(): string
0 commit comments