A custom table column that supports prefixed and suffixed badges to the column content.
MIT License
125
stars
18
forks
source link
Declaration of Awcodes\FilamentBadgeableColumn\Concerns\HasBadges::getPrefix(): Illuminate\Contracts\Support\Htmlable|string|null must be compatible with Filament\Tables\Columns\TextColumn::getPrefix(): ?string #51
Declaration of Awcodes\FilamentBadgeableColumn\Concerns\HasBadges::getPrefix(): Illuminate\Contracts\Support\Htmlable|string|null must be compatible with Filament\Tables\Columns\TextColumn::getPrefix(): ?string
It looks like the getPrefix declaration is not the same as the one in Filament
Expected behavior
What I expect when I update the filamentphp v3 and awcodes/filament-badgeable-column v2.3.2 packages is that the badge will still appear.
Steps to reproduce
I upgraded filamentphp to v3 and awcodes/filament-badgeable-column to v2.3.2 but the following error appeared:
Declaration of Awcodes\FilamentBadgeableColumn\Concerns\HasBadges::getPrefix(): Illuminate\Contracts\Support\Htmlable|string|null must be compatible with Filament\Tables\Columns\TextColumn::getPrefix(): ?string
Filament Version
v3
Plugin Version
v2.3.2
PHP Version
8.3.12
Problem description
Declaration of Awcodes\FilamentBadgeableColumn\Concerns\HasBadges::getPrefix(): Illuminate\Contracts\Support\Htmlable|string|null must be compatible with Filament\Tables\Columns\TextColumn::getPrefix(): ?string
It looks like the getPrefix declaration is not the same as the one in Filament
Expected behavior
What I expect when I update the filamentphp v3 and awcodes/filament-badgeable-column v2.3.2 packages is that the badge will still appear.
Steps to reproduce
I upgraded filamentphp to v3 and awcodes/filament-badgeable-column to v2.3.2 but the following error appeared: Declaration of Awcodes\FilamentBadgeableColumn\Concerns\HasBadges::getPrefix(): Illuminate\Contracts\Support\Htmlable|string|null must be compatible with Filament\Tables\Columns\TextColumn::getPrefix(): ?string
Reproduction repository
No response
Relevant log output
No response