diff --git a/tests/system/Models/FindModelTest.php b/tests/system/Models/FindModelTest.php index 24946b4e2965..b0b835bc1067 100644 --- a/tests/system/Models/FindModelTest.php +++ b/tests/system/Models/FindModelTest.php @@ -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);