Skip to content

Commit

Permalink
ScriptHandler: update type of method getOptions() argument
Browse files Browse the repository at this point in the history
Argument 1 passed to ScriptHandler::getOptions() must be an instance of
Composer\Script\CommandEvent, instance of Composer\Script\Event given
  • Loading branch information
kniziol committed Feb 24, 2015
1 parent b9d6813 commit 1d27955
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Composer/ScriptHandler.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
namespace Liip\MonitorBundle\Composer;

use Composer\Script\CommandEvent;
use Sensio\Bundle\DistributionBundle\Composer\ScriptHandler as BaseHandler;

/**
Expand All @@ -10,7 +11,7 @@
*/
class ScriptHandler extends BaseHandler
{
public static function checkHealth($event)
public static function checkHealth(CommandEvent $event)
{
$options = self::getOptions($event);

Expand Down

0 comments on commit 1d27955

Please sign in to comment.