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

Rename `Container::getUnsafeValues()` to `getUntrustedValues()`

Open jtojnar opened this issue 3 months ago • 0 comments

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().

jtojnar avatar Dec 14 '25 23:12 jtojnar