webman/console 控件需要更新

ala3246875

目前 webman/console 生成的中间件代码与实际不符,
新的是
public function process(Request $request, callable $handler): Response;

生成的是
public function process(Request $request, callable $next) : Response

其他的命令请也检查一下,符合当前的最新框架。
还有就是生成的时候要检查一下文件是否存在,存在就提示,目前的会覆盖。

相关版本
webman/blade 1.5.5 The standalone version of Laravel's Blade templating engine for use outside of Laravel.
webman/console 1.3.6 Webman console
webmozart/assert 1.11.0 Assertions to validate method input/output with nice error messages.
workerman/crontab 1.0.6 A crontab written in PHP based on workerman
workerman/webman-framework 1.5.16 High performance HTTP Service Framework.
workerman/workerman 4.1.15 An asynchronous event driven PHP framework for easily building fast, scalable network applications.

502 2 0
2个回答

ala3246875

@walkor

  • 暂无评论
walkor 打赏

已经支持,请更新
composer require webman/console ^v1.3.7

×
🔝