From 23e89d1f432319afe8e3e01215ac202fb356eb2e Mon Sep 17 00:00:00 2001 From: abbasmashaddy72 Date: Mon, 23 Jun 2025 19:17:13 +0530 Subject: [PATCH] Update composer.json to support Filament 4.0 and fix visibility of view property in MultiWidget class --- composer.json | 4 ++-- src/MultiWidget.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;