phpstan-symfony icon indicating copy to clipboard operation
phpstan-symfony copied to clipboard

feat: stub DataMapperInterface

Open roerbakei opened this issue 1 year ago • 1 comments

  • Ensure TData of FormInterface is provided.
  • Set TData on mixed since we don't know the type of the child forms.
  • Add template for DataMapperInterface.

I've set TData of FormInterface to mixed since each child form can have a different type.

refs: #417

roerbakei avatar Dec 04 '24 11:12 roerbakei

There are two different PRs with this stub: https://github.com/phpstan/phpstan-symfony/pull/422

  1. Both have the same mistake of not registering the stub.
  2. Both are slightly different so you should agree first how it should look like.

ondrejmirtes avatar Mar 01 '25 15:03 ondrejmirtes