Skip to content

Commit 4aab172

Browse files
Update src/Symfony/Component/Serializer/Context/Normalizer/AbstractNormalizerContextBuilder.php
Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
1 parent 7e36d8f commit 4aab172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Serializer/Context/Normalizer/AbstractNormalizerContextBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function withIgnoredAttributes(?array $ignoredAttributes): static
169169
* Configures requiring all properties to be listed in the input instead
170170
* of falling back to null for nullable ones.
171171
*/
172-
public function withRequireAllProperties(?bool $requireAllProperties): static
172+
public function withRequireAllProperties(?bool $requireAllProperties = true): static
173173
{
174174
return $this->with(AbstractNormalizer::REQUIRE_ALL_PROPERTIES, $requireAllProperties);
175175
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy