Skip to content

Commit

Permalink
Merge pull request #8827 from kenjis/test-fix-phpstan-errors
Browse files Browse the repository at this point in the history
test: add `@var` for PHPStan
  • Loading branch information
kenjis authored Apr 25, 2024
2 parents de1fbef + 8427340 commit 8738340
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/system/Models/FindModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function testFindReturnsEntityWithCasts(): void
]);
$id = $this->model->insert($user, true);

/** @var UserWithCasts $user */
$user = $this->model->find($id);

$this->assertSame('John Smith', $user->name);
Expand Down

0 comments on commit 8738340

Please sign in to comment.