Skip to content

Commit c20efbb

Browse files
authored
Merge pull request #2357 from alterphp/patch-2
Fix default $strict default value in constructor
2 parents 519d967 + b0716d7 commit c20efbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/Annotations/RequestParam.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(
4040
$default = null,
4141
string $description = '',
4242
array $incompatibles = [],
43-
bool $strict = false,
43+
bool $strict = true,
4444
bool $map = false,
4545
bool $nullable = false,
4646
bool $allowBlank = true

0 commit comments

Comments
 (0)