Script yii\composer\Installer::setPermission handling the post-create-project-cmd event terminated with an exception
[ErrorException]
Argument 1 passed to yii\composer\Installer::setPermission() must be of the type array, object given, called in phar://C:/OpenServer/modules/php/PHP-5.5/composer.pha
r/src/Composer/EventDispatcher/EventDispatcher.php on line 198 and defined