Skip to content

Commit a2be9b6

Browse files
committed
Fixed typo in the Doctrine custom type
1 parent 85257a5 commit a2be9b6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
This changelog references the relevant changes done between versions.
44

55
To get the diff for a specific change, go to https://github.com/LIN3S/SharedKernel/commit/XXX where XXX is the change hash
6-
To get the diff between two versions, go to https://github.com/LIN3S/SharedKernel/compare/v0.7.0...v0.8.0
6+
To get the diff between two versions, go to https://github.com/LIN3S/SharedKernel/compare/v0.8.0...v0.9.0
77

8+
* 0.9.4
9+
* Fixed typo in the Doctrine custom type `PhoneType`.
810
* 0.9.3
911
* Fixed return type error in the Doctrine custom types.
1012
* 0.9.2

src/LIN3S/SharedKernel/Infrastructure/Persistence/Doctrine/DBAL/Domain/Model/Phone/Types/PhoneType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function convertToPHPValue($value, AbstractPlatform $platform) : ?Phone
3737
return null;
3838
}
3939

40-
return Phone::fromInternatinal($value);
40+
return Phone::fromInternational($value);
4141
}
4242

4343
public function requiresSQLCommentHint(AbstractPlatform $platform) : bool

0 commit comments

Comments
 (0)