mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix: Update StoredObject
uuid property.
This commit is contained in:
parent
8c2d211661
commit
664fcd07ef
@ -9,6 +9,7 @@ use ChampsLibres\AsyncUploaderBundle\Model\AsyncFileInterface;
|
||||
use ChampsLibres\AsyncUploaderBundle\Validator\Constraints\AsyncFileExists;
|
||||
use ChampsLibres\WopiLib\Contract\Entity\Document;
|
||||
use DateTimeInterface;
|
||||
use Ramsey\Uuid\Rfc4122\UuidInterface;
|
||||
use Ramsey\Uuid\Uuid;
|
||||
use Symfony\Component\Serializer\Annotation as Serializer;
|
||||
|
||||
@ -52,7 +53,7 @@ class StoredObject implements AsyncFileInterface, Document
|
||||
/**
|
||||
* @ORM\Column(type="uuid", unique=true)
|
||||
*/
|
||||
private Uuid $uuid;
|
||||
private UuidInterface $uuid;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="datetime", name="creation_date")
|
||||
@ -163,7 +164,7 @@ class StoredObject implements AsyncFileInterface, Document
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getUuid(): Uuid
|
||||
public function getUuid(): UuidInterface
|
||||
{
|
||||
return $this->uuid;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user