Skip to content

Commit

Permalink
ClassMetadataFactory - Compatibility with Doctrine ORM 3 and DBAL 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Feb 8, 2024
1 parent dd487b2 commit 652e195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Doctrine/Mapping/ClassMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected function initialize(): void
* @param class-string<T> $className
* @return ClassMetadata<T>
*/
protected function newClassMetadataInstance($className)
protected function newClassMetadataInstance($className): ClassMetadata
{
return new ClassMetadata($className);
}
Expand Down

0 comments on commit 652e195

Please sign in to comment.