Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Composer scripts #29

Open
igaponov opened this issue Mar 9, 2015 · 1 comment
Open

Error in Composer scripts #29

igaponov opened this issue Mar 9, 2015 · 1 comment

Comments

@igaponov
Copy link

igaponov commented Mar 9, 2015

Script Yiinitializr\Composer\Callback::postPackageUpdate handling the post-package-update event terminated with an exception
[ErrorException]
Argument 1 passed to Yiinitializr\Composer\Callback::postPackageUpdate() must be an instance of Composer\Script\Event, instance of Composer\Script\PackageEvent given

@zeevin
Copy link

zeevin commented Mar 3, 2017

remove all the" $event" param type hint .
e.g.:public static function postUpdate( Event $event) to public static function postUpdate($event)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants