File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1010 */
1111
1212namespace Symfony \Cmf \Bundle \CreateBundle \Composer ;
13+ use Composer \Script \Event ;
1314
1415use Symfony \Component \Process \Process ;
1516
@@ -26,13 +27,13 @@ class ScriptHandler
2627
2728 const CKEDITOR_COMMIT_ID = '0fb9d534634a06af386027bd7dea2c9dcfb8bb99 ' ;
2829
29- public static function downloadCreateAndCkeditor ($ event )
30+ public static function downloadCreateAndCkeditor (Event $ event )
3031 {
3132 ScriptHandler::downloadCreate ($ event );
3233 ScriptHandler::downloadCkeditor ($ event );
3334 }
3435
35- public static function downloadCreate ($ event )
36+ public static function downloadCreate (Event $ event )
3637 {
3738 $ extra = $ event ->getComposer ()->getPackage ()->getExtra ();
3839 $ event ->getIO ()->write ("<info>Download or update create</info> " );
@@ -61,7 +62,7 @@ public static function downloadCreate($event)
6162 ScriptHandler::gitSynchronize ($ directory , $ repository , $ commit );
6263 }
6364
64- public static function downloadCkeditor ($ event )
65+ public static function downloadCkeditor (Event $ event )
6566 {
6667 $ extra = $ event ->getComposer ()->getPackage ()->getExtra ();
6768 $ event ->getIO ()->write ("<info>Download or update ckeditor</info> " );
You can’t perform that action at this time.
0 commit comments