Fix array syntax for PHP 5.3 compatibility

This commit is contained in:
Jakub Turek 2015-05-29 19:57:57 +02:00
parent c69d8888f5
commit 3547c03cef
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ class ApplyFaclsTask extends AbstractTask implements IsReleaseAware
throw new SkipException('Parameter acl_param not set.');
}
$folders = $this->getParameter('folders', []);
$folders = $this->getParameter('folders', array());
$recursive = $this->getParameter('recursive', false) ? ' -R ' : ' ';
foreach ($folders as $folder) {

View file

@ -147,6 +147,6 @@ class LinkSharedFilesTask extends AbstractTask implements IsReleaseAware
$path = $linkedEntity;
}
return [$path, $strategy];
return array($path, $strategy);
}
}