Commit 6bb51821 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

UploadedFileRepository#get: ne renvoie bien qu'un objet.

Showing with 1 addition and 1 deletion
+1 -1
......@@ -90,7 +90,7 @@ class UploadedFileRepository extends EntityRepository implements FileManagerInte
public function get($id)
{
return $this->findById($id);
return $this->findOneById($id);
}
public function completed(UploadedFile $file)
......
Supports Markdown
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