Skip to content

Commit 8b47877

Browse files
minor #62701 [Config] Add default generic to Configuration to TParent generic (alexander-schranz)
This PR was squashed before being merged into the 7.4 branch. Discussion ---------- [Config] Add default generic to Configuration to TParent generic | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no <!-- if yes, also update src/**/CHANGELOG.md --> | Deprecations? |no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md --> | Issues | Fix #... <!-- prefix each issue number with "Fix #"; no need to create an issue if none exists, explain below --> | License | MIT Missed in #62616. Define all TParent which are nullable as default null. Commits ------- c6ff984 [Config] Add default generic to Configuration to TParent generic
2 parents 576a47f + c6ff984 commit 8b47877

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/Symfony/Component/Config/Definition/Builder/FloatNodeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* This class provides a fluent interface for defining a float node.
1818
*
19-
* @template TParent of NodeParentInterface|null
19+
* @template TParent of NodeParentInterface|null = null
2020
*
2121
* @extends NumericNodeDefinition<TParent>
2222
*

src/Symfony/Component/Config/Definition/Builder/IntegerNodeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* This class provides a fluent interface for defining an integer node.
1818
*
19-
* @template TParent of NodeParentInterface|null
19+
* @template TParent of NodeParentInterface|null = null
2020
*
2121
* @extends NumericNodeDefinition<TParent>
2222
*

src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* This class provides a fluent interface for building a node.
1616
*
17-
* @template TParent of (NodeDefinition&ParentNodeDefinitionInterface)|null
17+
* @template TParent of (NodeDefinition&ParentNodeDefinitionInterface)|null = null
1818
*
1919
* @author Johannes M. Schmitt <[email protected]>
2020
*/

src/Symfony/Component/Config/Definition/Builder/NodeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* This class provides a fluent interface for defining a node.
2121
*
22-
* @template TParent of NodeParentInterface|null
22+
* @template TParent of NodeParentInterface|null = null
2323
*
2424
* @author Johannes M. Schmitt <[email protected]>
2525
*/

src/Symfony/Component/Config/Definition/Builder/NumericNodeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Abstract class that contains common code of integer and float node definitions.
1818
*
19-
* @template TParent of NodeParentInterface|null
19+
* @template TParent of NodeParentInterface|null = null
2020
*
2121
* @extends ScalarNodeDefinition<TParent>
2222
*

src/Symfony/Component/Config/Definition/Builder/ScalarNodeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* This class provides a fluent interface for defining a node.
1818
*
19-
* @template TParent of NodeParentInterface|null
19+
* @template TParent of NodeParentInterface|null = null
2020
*
2121
* @extends VariableNodeDefinition<TParent>
2222
*

src/Symfony/Component/Config/Definition/Builder/StringNodeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* This class provides a fluent interface for defining a node.
1818
*
19-
* @template TParent of NodeParentInterface|null
19+
* @template TParent of NodeParentInterface|null = null
2020
*
2121
* @extends ScalarNodeDefinition<TParent>
2222
*

src/Symfony/Component/Config/Definition/Builder/VariableNodeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* This class provides a fluent interface for defining a node.
1919
*
20-
* @template TParent of NodeParentInterface|null
20+
* @template TParent of NodeParentInterface|null = null
2121
*
2222
* @extends NodeDefinition<TParent>
2323
*

0 commit comments

Comments
 (0)