Skip to content

Commit cd65603

Browse files
committed
Bugfix
1 parent 24dea58 commit cd65603

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctrine/dbal.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ mapping types, read Doctrine's `Custom Mapping Types`_ section of their document
109109
110110
return static function (DoctrineConfig $doctrine) {
111111
$dbal = $doctrine->dbal();
112-
$dbal->type('custom_first', [CustomFirst::class]);
113-
$dbal->type('custom_second', [CustomSecond::class]);
112+
$dbal->type('custom_first')->class(CustomFirst::class);
113+
$dbal->type('custom_second')->class(CustomSecond::class);
114114
};
115115
116116
Registering custom Mapping Types in the SchemaTool

0 commit comments

Comments
 (0)