-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect DBAL's number type #11781
base: 3.4.x
Are you sure you want to change the base?
Detect DBAL's number type #11781
Conversation
How does |
We kind of have the same problem here as we already do with |
@@ -36,36 +39,38 @@ private static function chainTypedFieldMapper(): ChainTypedFieldMapper | |||
/** | |||
* Data Provider for NamingStrategy#classToTableName | |||
* | |||
* @return array< | |||
* @return Generator< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generator
requires 4 template types in its generic signature. I suggest using iterable
as type instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine. Generator<TKey, TValue>
is widely understood by static analyzers.
Leverages doctrine/dbal#6686.