Commit 002caff1 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Correction de UploadedFile->__toString.

Showing with 1 addition and 1 deletion
+1 -1
......@@ -307,7 +307,7 @@ class UploadedFile implements UploadedFileInterface
$unit = "m";
}
}
return sprintf("%s (%s, %d%so)", $this->originalFilename, $this->mimeType ?: '?/?', $size, $unit);
return sprintf("%s (%s, %d%so)", $this->displayName, $this->mimeType ?: '?/?', $size, $unit);
}
/**
......
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