创建插件报错php webman app-plugin:create

wekyun

问题描述

创建插件报错

程序代码

php webman app-plugin:create blogcms

报错信息

PS E:\www\webman\xuexi\webman> php webman app-plugin:create blogcms
PHP Fatal error:  Declaration of Webman\Event\EventListCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in E:\www\webman\xuexi\webman\vendor\webman\event\src\EventListCommand.php on line 29

Fatal error: Declaration of Webman\Event\EventListCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in E:\www\webman\xuexi\webman\vendor\webman\event\src\EventListCommand.php on line 29
92 1 0
1个回答

Jinson

看看是不是跟这个一样:https://www.workerman.net/q/13834

  • wekyun 17天前

    是一样的,切换到腾讯镜像,才升级成功。

  • Jinson 17天前

    尽量用官方源最好

×
🔝