mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Fix tests on PHP 5.4
This commit is contained in:
@@ -282,7 +282,7 @@ class File
|
|||||||
*
|
*
|
||||||
* @return \Alchemy\Phrasea\Border\File
|
* @return \Alchemy\Phrasea\Border\File
|
||||||
*/
|
*/
|
||||||
public function buildFromPathfile($pathfile, \collection $collection, MediaVorus $mediavorus, $originalName = null)
|
public static function buildFromPathfile($pathfile, \collection $collection, MediaVorus $mediavorus, $originalName = null)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$media = $mediavorus->guess($pathfile);
|
$media = $mediavorus->guess($pathfile);
|
||||||
|
Reference in New Issue
Block a user