Skip to content

Commit

Permalink
Add defalut value
Browse files Browse the repository at this point in the history
to make this class work without running Plugin::generateStubFiles()
  • Loading branch information
alies-dev committed Nov 4, 2023
1 parent e2d38b7 commit 2079ad8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Providers/ModelStubProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@

final class ModelStubProvider implements GeneratesStubs
{
/**
* @var list<class-string<\Illuminate\Database\Eloquent\Model>>
*/
private static $model_classes;
/** @var list<class-string<\Illuminate\Database\Eloquent\Model>> */
private static $model_classes = [];

public static function generateStubFile(): void
{
Expand Down

0 comments on commit 2079ad8

Please sign in to comment.