Skip to content

Commit

Permalink
Merge pull request #68 from kiwilan/develop
Browse files Browse the repository at this point in the history
v2.0.04
  • Loading branch information
ewilan-riviere authored Apr 15, 2024
2 parents 03fceba + c863942 commit 1c22c61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Typed/EloquentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public static function make(?string $modelsPath, ?string $outputPath, ?string $p

$self = new self($modelsPath, $outputPath);
$self->items = ClassItem::list($self->modelsPath, TypescriptableConfig::modelsSkip());
$self->items = array_filter($self->items, fn ($item) => $item->isModel);

$self->list = $self->setList();
$self->eloquents = $self->setEloquents();
$self->setPivots();
Expand Down

0 comments on commit 1c22c61

Please sign in to comment.