Commit 15fb164c authored by Guillaume Perréal's avatar Guillaume Perréal

rhumsaa/uuid a été renommé en ramsey/uuid (et les namespaces ont suivi).

parent 7ea45e0a
......@@ -96,7 +96,7 @@ class UploadedFileRepository extends EntityRepository implements FileManagerInte
if(!$id) {
return null;
}
if(!is_string($id) || !\Rhumsaa\Uuid\Uuid::isValid($id)) {
if(!is_string($id) || !\Ramsey\Uuid\Uuid::isValid($id)) {
throw new \InvalidArgumentException(sprintf("Identifiant invalide: %s", (string)$id));
}
return $this->findOneById($id);
......
......@@ -15,7 +15,7 @@ use Gaufrette\StreamMode;
use InvalidArgumentException;
use Irstea\FileUploadBundle\Model\UploadedFileInterface;
use Irstea\FileUploadBundle\Utils\MimeTypeIcon;
use Rhumsaa\Uuid\Uuid;
use Ramsey\Uuid\Uuid;
/**
* @ORM\Entity(repositoryClass="Irstea\FileUploadBundle\Entity\Repository\UploadedFileRepository")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment