Skip to content

Commit cc6e683

Browse files
Merge branch '7.4' into 8.0
* 7.4: [HttpClient] Fix caching client decorating scoping client [DownCralwer] Fix inline type info [FrameworkBundle] Add missing `container.excluded` to `serializer.attribute_metadata` [DomCrawler] Fix converting HTML5 trees to DOM nodes [VarDumper] Fix dumping CurlHttpClient instances [DomCrawler] Properly ignore errors when using the native HTML5 parser [Validator] Correct PHPDoc for Collection constructor
2 parents 95f6ce4 + ec65739 commit cc6e683

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Constraints/Collection.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ class Collection extends Composite
3737
public string $missingFieldsMessage = 'This field is missing.';
3838

3939
/**
40-
* @param array<string,Constraint>|null $fields An associative array defining keys in the collection and their constraints
41-
* @param string[]|null $groups
42-
* @param bool|null $allowExtraFields Whether to allow additional keys not declared in the configured fields (defaults to false)
43-
* @param bool|null $allowMissingFields Whether to allow the collection to lack some fields declared in the configured fields (defaults to false)
40+
* @param array<string,Constraint|list<Constraint>>|null $fields An associative array defining keys in the collection and their constraints
41+
* @param string[]|null $groups
42+
* @param bool|null $allowExtraFields Whether to allow additional keys not declared in the configured fields (defaults to false)
43+
* @param bool|null $allowMissingFields Whether to allow the collection to lack some fields declared in the configured fields (defaults to false)
4444
*/
4545
public function __construct(?array $fields = null, ?array $groups = null, mixed $payload = null, ?bool $allowExtraFields = null, ?bool $allowMissingFields = null, ?string $extraFieldsMessage = null, ?string $missingFieldsMessage = null)
4646
{

0 commit comments

Comments
 (0)