Skip to content

Commit 402f3a8

Browse files
authored
Merge pull request #27 from howdu/feature/4.x
Fix phpstan and remove unused facade
2 parents b9be730 + dea7df5 commit 402f3a8

File tree

3 files changed

+2
-21
lines changed

3 files changed

+2
-21
lines changed

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@
8080
"laravel": {
8181
"providers": [
8282
"Howdu\\FilamentRecordSwitcher\\FilamentRecordSwitcherServiceProvider"
83-
],
84-
"aliases": {
85-
"FilamentRecordSwitcher": "Howdu\\FilamentRecordSwitcher\\Facades\\FilamentRecordSwitcher"
86-
}
83+
]
8784
}
8885
},
8986
"minimum-stability": "dev",

src/Facades/FilamentRecordSwitcher.php

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/Filament/Concerns/HasRecordSwitcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @mixin EditRecord
2121
*/
22-
trait HasRecordSwitcher
22+
trait HasRecordSwitcher /** @phpstan-ignore trait.unused */
2323
{
2424
protected int $maxSelectOptions = 10;
2525

0 commit comments

Comments
 (0)