php-etl icon indicating copy to clipboard operation
php-etl copied to clipboard

Etl extract method param have wrong type

Open G0URAB opened this issue 1 year ago • 2 comments

As per the documentation, the source in $etl->extrac can also be an iterable: $etl->extract('collection', $iterable, $options);

When I do that phpstan complains about the type in your code.

G0URAB avatar Jul 05 '24 11:07 G0URAB

Hi @G0URAB Did you try our fork? We did some improvements over the years. https://github.com/wizacode/php-etl

ecourtial avatar Jul 05 '24 12:07 ecourtial

Hi @ecourtial Yes, we already saw the fork. We are most probably going to use your fork :)

G0URAB avatar Jul 05 '24 13:07 G0URAB