Skip to content

Entry Template Definition #1573

@norberttech

Description

@norberttech

Due to how TValue and TType is defined on Entry interface more strict settings of phpstan will report following error:

         Parameter #1 ...$entry of function Flow\ETL\DSL\row expects Flow\ETL\Row\Entry<mixed, mixed>, Flow\ETL\Row\Entry\StringEntry given.          
         🪪  argument.type                                                                                                                            
         💡 Template type TValue on class Flow\ETL\Row\Entry is not covariant. Learn more: https://phpstan.org/blog/whats-up-with-template-covariant  
         💡 Template type TType on class Flow\ETL\Row\Entry is not covariant. Learn more: https://phpstan.org/blog/whats-up-with-template-covariant   

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions