Skip to content

Commit

Permalink
Container::getUntrustedValues() has default value
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 25, 2024
1 parent 02a1f91 commit 0207b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function getValues(string|object|bool|null $returnType = null, ?array $co
* Returns the potentially unvalidated values submitted by the form.
* @param Control[]|null $controls
*/
public function getUntrustedValues(string|object|null $returnType, ?array $controls = null): object|array
public function getUntrustedValues(string|object|null $returnType = null, ?array $controls = null): object|array
{
if (is_object($returnType)) {
$obj = $returnType;
Expand Down

0 comments on commit 0207b0c

Please sign in to comment.