diff --git a/Composer/ScriptHandler.php b/Composer/ScriptHandler.php
index 79a867b..db1881a 100644
--- a/Composer/ScriptHandler.php
+++ b/Composer/ScriptHandler.php
@@ -10,6 +10,7 @@
*/
namespace Symfony\Cmf\Bundle\CreateBundle\Composer;
+use Composer\Script\Event;
use Symfony\Component\Process\Process;
@@ -26,13 +27,13 @@ class ScriptHandler
const CKEDITOR_COMMIT_ID = '0fb9d534634a06af386027bd7dea2c9dcfb8bb99';
- public static function downloadCreateAndCkeditor($event)
+ public static function downloadCreateAndCkeditor(Event $event)
{
ScriptHandler::downloadCreate($event);
ScriptHandler::downloadCkeditor($event);
}
- public static function downloadCreate($event)
+ public static function downloadCreate(Event $event)
{
$extra = $event->getComposer()->getPackage()->getExtra();
$event->getIO()->write("Download or update create");
@@ -61,7 +62,7 @@ public static function downloadCreate($event)
ScriptHandler::gitSynchronize($directory, $repository, $commit);
}
- public static function downloadCkeditor($event)
+ public static function downloadCkeditor(Event $event)
{
$extra = $event->getComposer()->getPackage()->getExtra();
$event->getIO()->write("Download or update ckeditor");