Skip to content

Commit ed3d7ae

Browse files
committed
chore(state): interface_exists instead of class_exists
1 parent 4609a9e commit ed3d7ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/State/ObjectMapper/ObjectMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Component\ObjectMapper\ObjectMapperAwareInterface;
1818
use Symfony\Component\ObjectMapper\ObjectMapperInterface;
1919

20-
if (false === class_exists(ObjectMapperAwareInterface::class)) {
20+
if (false === interface_exists(ObjectMapperAwareInterface::class)) {
2121
final class ObjectMapper implements ObjectMapperInterface
2222
{
2323
public function __construct(private ObjectMapperInterface $decorated)

0 commit comments

Comments
 (0)