Skip to content

Commit

Permalink
Update phpstan configuration and fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
rhiannonjourney committed Oct 19, 2023
1 parent b79d590 commit 96ee237
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ parameters:
level: 4
paths:
- src
- config
- database
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
Expand Down
5 changes: 4 additions & 1 deletion src/FilamentStickyResourceFormFootersPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ public function floating(bool | null | Closure $condition = true): static

public static function get(): static
{
return filament(app(static::class)->getId());
/** @var static $plugin */
$plugin = filament(app(static::class)->getId());

return $plugin;
}

public function getId(): string
Expand Down

0 comments on commit 96ee237

Please sign in to comment.