mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +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();
|
||||
|
||||
$in = $this->container['cache.paths']->toArray();
|
||||
$in = $this->container['cache.paths']->getArrayCopy();
|
||||
$finder
|
||||
->exclude('.git')
|
||||
->exclude('.svn')
|
||||
|
Reference in New Issue
Block a user