From 2d512b41cdf58ac8606b32cb03fa77e89e2a4863 Mon Sep 17 00:00:00 2001 From: Daniel Subiabre Date: Tue, 3 Feb 2026 18:13:54 +0100 Subject: [PATCH] fix: add cover property to ProjectVideo.php --- src/Entity/Project/ProjectVideo.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Entity/Project/ProjectVideo.php b/src/Entity/Project/ProjectVideo.php index 172df23..fc98cfa 100644 --- a/src/Entity/Project/ProjectVideo.php +++ b/src/Entity/Project/ProjectVideo.php @@ -2,7 +2,7 @@ namespace App\Entity\Project; -use App\Service\Embed\EmbedVideo; +use App\Embed\EmbedVideo; use Doctrine\DBAL\Types\Types; use Doctrine\ORM\Mapping as ORM; @@ -14,5 +14,7 @@ class ProjectVideo extends EmbedVideo public readonly string $src = '', #[ORM\Column(type: Types::STRING, nullable: true)] public readonly ?string $thumbnail = null, + #[ORM\Column(type: Types::STRING, nullable: true)] + public readonly ?string $cover = null, ) {} }