mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix tests on PHP 5.4
This commit is contained in:
@@ -282,7 +282,7 @@ class 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 {
|
||||
$media = $mediavorus->guess($pathfile);
|
||||
|
Reference in New Issue
Block a user