Skip to content

Conversation

@bwaters
Copy link

@bwaters bwaters commented Apr 6, 2023

This fixes a fatal error with Minify: 3.0.13 and php 8.1

Fatal error: Declaration of Props\Container::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /var/www/html/vendor/mrclay/props-dic/src/Props/Container.php on line 105

@bwaters bwaters mentioned this pull request Apr 6, 2023
* {@inheritdoc}
*/
public function has($name)
public function has($name): bool
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this backward compatible with psr/container 1.1.2?

@Zmaon
Copy link

Zmaon commented May 23, 2023

Could someone create a release with this fix? The issue is really blocking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants