Skip to content

Commit

Permalink
Merge pull request #19 from pdias/patch-1
Browse files Browse the repository at this point in the history
Compatibility with ScriptHandler
  • Loading branch information
Web solutions authored and Web solutions committed May 2, 2016
2 parents e54b9d4 + e46bedd commit 9a02b70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Composer/ScriptHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

namespace SmartCore\Bundle\AcceleratorCacheBundle\Composer;

use Composer\Script\CommandEvent;
use Composer\Script\Event;
use Sensio\Bundle\DistributionBundle\Composer\ScriptHandler as SymfonyScriptHandler;

class ScriptHandler extends SymfonyScriptHandler
{
/**
* Clears the APC/Wincache/Opcache cache.
*
* @param $event CommandEvent A instance
* @param $event Event A instance
*/
public static function clearCache(CommandEvent $event)
public static function clearCache(Event $event)
{
$options = parent::getOptions($event);
//$consoleDir = parent::getConsoleDir($event, 'clear the PHP Accelerator cache');
Expand Down

0 comments on commit 9a02b70

Please sign in to comment.