Skip to content

Commit

Permalink
fix(chore): resolve problem of typing
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisdugue authored Oct 30, 2024
1 parent ac73afd commit ab8ea0c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Entity/Library.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Studit\H5PBundle\Entity;

use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;

#[ORM\Entity(repositoryClass: LibraryRepository::class)]
Expand Down Expand Up @@ -115,9 +116,9 @@ class Library

#[ORM\OneToMany(targetEntity: ContentLibraries::class, mappedBy: "library")]
/**
* @var ArrayCollection
* @var ArrayCollection|Collection
*/
private ArrayCollection $contentLibraries;
private ArrayCollection|Collection $contentLibraries;
/**
* @var string|null
*/
Expand Down

0 comments on commit ab8ea0c

Please sign in to comment.