We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e83afc6 commit d06f91cCopy full SHA for d06f91c
src/DataTransformer/DuplicateIndex/Standard.php
@@ -22,7 +22,7 @@ class Standard implements DataTransformerInterface
22
public function transform($data, $options = [])
23
{
24
if ($data instanceof \DateTime) {
25
- $data = $data->format(\DateTime::ISO8601);
+ $data = $data->format(\DateTimeInterface::ISO8601);
26
}
27
28
return trim(strtolower(str_replace(' ', ' ', $data)));
0 commit comments