We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e36d8f commit 4aab172Copy full SHA for 4aab172
src/Symfony/Component/Serializer/Context/Normalizer/AbstractNormalizerContextBuilder.php
@@ -169,7 +169,7 @@ public function withIgnoredAttributes(?array $ignoredAttributes): static
169
* Configures requiring all properties to be listed in the input instead
170
* of falling back to null for nullable ones.
171
*/
172
- public function withRequireAllProperties(?bool $requireAllProperties): static
+ public function withRequireAllProperties(?bool $requireAllProperties = true): static
173
{
174
return $this->with(AbstractNormalizer::REQUIRE_ALL_PROPERTIES, $requireAllProperties);
175
}
0 commit comments