diff --git a/composer.json b/composer.json index 49c919e..b0d54c3 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "license": "MIT", "require": { "php": "^8.0", - "filament/filament": "^3.0", + "filament/filament": "^3.0|^4.0", "spatie/laravel-package-tools": "^1.15.0" }, "require-dev": { @@ -37,4 +37,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} \ No newline at end of file +} diff --git a/src/MultiWidget.php b/src/MultiWidget.php index caffc3b..88a6aae 100644 --- a/src/MultiWidget.php +++ b/src/MultiWidget.php @@ -14,7 +14,7 @@ class MultiWidget extends Widget { use HasTabs; - protected static string $view = 'multi-widget::multi-widget'; + protected string $view = 'multi-widget::multi-widget'; public int $currentWidget = 0;