HellPat / symfony-messenger-standalone

Standalone usage examples for Symfony messenger
0 stars 1 forks source link

Be PSR-11 v2/3 compatible #2

Open Crell opened 2 years ago

Crell commented 2 years ago

Running composer install today brings down psr/container v3, which has both param and return types. This adds return types to avoid it breaking entirely. Adding param types is optional, but recommended. I leave that to the author.

Though really, the package should also depend on psr/container directly if it's going to implement it.