You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we switched our minimum required version from 5.3 to 7.0 with the latest major a few months ago I am sure there are many places where we could improve like that. Please open a PR every of those improvements is welcome :)
Yet the
allowProperties()
,skipProperties()
andallowAllPropertiesExcept()
methods of thePropertyMappingConfiguration
class don't have arguments defined but use thefunc_get_args()
function to retrieve all arguments from this function's call.PHP5.6+ supports variable-length argument lists'.
This argument list might also be strongly typed (e.g. with
string
for property names).Example:
This would improve the API docs, the readability and the IDE support.
Is there a good reason why this isn't implemented yet? Or should it be part of #999?
May I create a PR?
The text was updated successfully, but these errors were encountered: