MyGit

4.14.0

slimphp/Slim

版本发布时间: 2024-06-13 17:37:43

slimphp/Slim最新发布版本:4.14.0(2024-06-13 17:37:43)

What's Changed

Type hinting with template generics

With the introduction of template generics, if you type-hint Slim\App instance variable using /** @var \Slim\App $app */, then you will need to change it to either:

You can also type-hint to the concrete instance of the container you are using too. For example, if you are using PHP-DI, then you can use: /** @var \Slim\App<DI\Container> $app */.

New Contributors

Full Changelog: https://github.com/slimphp/Slim/compare/4.13.0...4.14.0

相关地址:原始地址 下载(tar) 下载(zip)

查看:2024-06-13发行的版本