Closed
Description
Description
By using symfony/console
package inside Zephir, we are having fatal error:
Fatal error: During inheritance of IteratorAggregate: Uncaught ErrorException: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/vendor/symfony/console/Helper/HelperSet.php:94
Example
Code example can be found here
https://github.com/zephir-lang/zephir/blob/7315f84929e04a0f52b276edd65cfd3673327f4a/Library/Console/Command/FullCleanCommand.php#L39