Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /app/vendor/mezzio/mezzio-router/src/RouteCollectorFactory.php on line 59
Current behavior
How to reproduce
Use latest version of symfony components (symfony di, etc)
Bug Report
Summary
Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /app/vendor/mezzio/mezzio-router/src/RouteCollectorFactory.php on line 59
Current behavior
How to reproduce
Use latest version of symfony components (symfony di, etc)
Expected behavior
without warnings.
I propose replace array_key_exists -> isset or use type hint. https://github.com/mezzio/mezzio-router/blob/3.4.x/src/RouteCollectorFactory.php#L59