diff --git a/README.md b/README.md index ea695a33..f6050c6b 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,5 @@ ---- -layout: home ---- +# 11bytes PHP DI fork -[![](doc/img.png)](https://php-di.org/) +Removes types from get / has container functions because for some reason they trigger the following error: -[![Downloads per months](https://img.shields.io/packagist/dm/PHP-DI/PHP-DI.svg?style=flat-square)](https://packagist.org/packages/PHP-DI/PHP-DI) -[![Total downloads](https://img.shields.io/packagist/dt/PHP-DI/PHP-DI.svg?style=flat-square)](https://packagist.org/packages/PHP-DI/PHP-DI) - -[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/PHP-DI/PHP-DI.svg)](http://isitmaintained.com/project/PHP-DI/PHP-DI "Average time to resolve an issue") -[![Percentage of issues still open](http://isitmaintained.com/badge/open/PHP-DI/PHP-DI.svg)](http://isitmaintained.com/project/PHP-DI/PHP-DI "Percentage of issues still open") - -PHP-DI is a dependency injection container meant to be practical, powerful, and framework-agnostic. - -Read more on the website: **[php-di.org](https://php-di.org)** - -## For Enterprise - -*Available as part of the Tidelift Subscription* - -The maintainers of php-di/php-di and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-php-di-php-di?utm_source=packagist-php-di-php-di&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) +`Declaration of DI\Container::get(string $id): mixed must be compatible with Psr\Container\ContainerInterface::get($id)`