@@ -34,7 +34,7 @@ final class DoctrineExtensions
34
34
* Hooks all extension metadata mapping drivers into
35
35
* the given driver chain of drivers for the ORM.
36
36
*/
37
- public static function registerMappingIntoDriverChainORM (MappingDriverChain $ driverChain , Reader $ reader = null ): void
37
+ public static function registerMappingIntoDriverChainORM (MappingDriverChain $ driverChain , ? Reader $ reader = null ): void
38
38
{
39
39
if (!$ reader ) {
40
40
$ reader = self ::createAnnotationReader ();
@@ -51,7 +51,7 @@ public static function registerMappingIntoDriverChainORM(MappingDriverChain $dri
51
51
* Hooks only superclass extension metadata mapping drivers into
52
52
* the given driver chain of drivers for the ORM.
53
53
*/
54
- public static function registerAbstractMappingIntoDriverChainORM (MappingDriverChain $ driverChain , Reader $ reader = null ): void
54
+ public static function registerAbstractMappingIntoDriverChainORM (MappingDriverChain $ driverChain , ? Reader $ reader = null ): void
55
55
{
56
56
if (!$ reader ) {
57
57
$ reader = self ::createAnnotationReader ();
@@ -68,7 +68,7 @@ public static function registerAbstractMappingIntoDriverChainORM(MappingDriverCh
68
68
* Hooks all extension metadata mapping drivers into
69
69
* the given driver chain of drivers for the MongoDB ODM.
70
70
*/
71
- public static function registerMappingIntoDriverChainMongodbODM (MappingDriverChain $ driverChain , Reader $ reader = null ): void
71
+ public static function registerMappingIntoDriverChainMongodbODM (MappingDriverChain $ driverChain , ? Reader $ reader = null ): void
72
72
{
73
73
if (!$ reader ) {
74
74
$ reader = self ::createAnnotationReader ();
@@ -84,7 +84,7 @@ public static function registerMappingIntoDriverChainMongodbODM(MappingDriverCha
84
84
* Hooks only superclass extension metadata mapping drivers into
85
85
* the given driver chain of drivers for the MongoDB ODM.
86
86
*/
87
- public static function registerAbstractMappingIntoDriverChainMongodbODM (MappingDriverChain $ driverChain , Reader $ reader = null ): void
87
+ public static function registerAbstractMappingIntoDriverChainMongodbODM (MappingDriverChain $ driverChain , ? Reader $ reader = null ): void
88
88
{
89
89
if (!$ reader ) {
90
90
$ reader = self ::createAnnotationReader ();
0 commit comments