Skip to content
/ config Public

Commit 6c17162

Browse files
[Config] Fix NodeDefinition template to be covariant
1 parent 9400e2f commit 6c17162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 = null
22+
* @template-covariant TParent of NodeParentInterface|null = null
2323
*
2424
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
2525
*/

0 commit comments

Comments
 (0)