mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Proper use of ArrayObject::getArrayCopy()
ArrayObject::toArray() does not exists
This commit is contained in:
@@ -31,7 +31,7 @@ class module_console_systemClearCache extends Command
|
|||||||
{
|
{
|
||||||
$finder = new Finder();
|
$finder = new Finder();
|
||||||
|
|
||||||
$in = $this->container['cache.paths']->toArray();
|
$in = $this->container['cache.paths']->getArrayCopy();
|
||||||
$finder
|
$finder
|
||||||
->exclude('.git')
|
->exclude('.git')
|
||||||
->exclude('.svn')
|
->exclude('.svn')
|
||||||
|
Reference in New Issue
Block a user