phpstan-nette
phpstan-nette copied to clipboard
Rename `Container::getUnsafeValues()` to `getUntrustedValues()`
Mirroring the upstream change from 3.1.10: https://github.com/nette/forms/commit/fb2df3bfabf5f7ec11f622f8940d1e6e4d39582e
The new method also makes the returnType argument optional, defaulting to ArrayHash.
Also add handling of returnType taking class-string.
Finally, add tests based on getValues().