Skip to content

Commit 977fdfc

Browse files
committed
Correctly typed collection
1 parent 8d972fd commit 977fdfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Blog/Model/User.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ final class User extends AbstractModel
4646
private $isAdministrator = false;
4747

4848
/**
49-
* @var \Doctrine\Common\Collections\Collection
49+
* @var Collection<Post>
5050
*
5151
* @ORM\OneToMany(targetEntity="GraphQLTests\Doctrine\Blog\Model\Post", mappedBy="user")
5252
*/
5353
private $posts;
5454

5555
/**
56-
* @var \Doctrine\Common\Collections\Collection
56+
* @var Collection<Post>
5757
*
5858
* @ORM\ManyToMany(targetEntity="GraphQLTests\Doctrine\Blog\Model\Post")
5959
*/

0 commit comments

Comments
 (0)