Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing null in phpdocs #11562

Open
wants to merge 2 commits into
base: 3.2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/Mapping/AssociationOverride.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ final class AssociationOverride implements MappingAttribute
public readonly array|null $inverseJoinColumns;

/**
* @param string $name The name of the relationship property whose mapping is being overridden.
* @param JoinColumn|array<JoinColumn> $joinColumns
* @param JoinColumn|array<JoinColumn> $inverseJoinColumns
* @param JoinTable|null $joinTable The join table that maps the relationship.
* @param string|null $inversedBy The name of the association-field on the inverse-side.
* @param string $name The name of the relationship property whose mapping is being overridden.
* @param JoinColumn|array<JoinColumn>|null $joinColumns
* @param JoinColumn|array<JoinColumn>|null $inverseJoinColumns
* @param JoinTable|null $joinTable The join table that maps the relationship.
* @param string|null $inversedBy The name of the association-field on the inverse-side.
* @psalm-param 'LAZY'|'EAGER'|'EXTRA_LAZY'|null $fetch
*/
public function __construct(
Expand Down
4 changes: 2 additions & 2 deletions src/PersistentCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ final class PersistentCollection extends AbstractLazyCollection implements Selec
/**
* Creates a new persistent collection.
*
* @param EntityManagerInterface $em The EntityManager the collection will be associated with.
* @param ClassMetadata $typeClass The class descriptor of the entity type of this collection.
* @param EntityManagerInterface|null $em The EntityManager the collection will be associated with.
* @param ClassMetadata|null $typeClass The class descriptor of the entity type of this collection.
* @psalm-param Collection<TKey, T>&Selectable<TKey, T> $collection The collection elements.
*/
public function __construct(
Expand Down
Loading