Skip to content

Commit

Permalink
correct chek Proxy interface exists
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-gribanov committed May 24, 2021
1 parent 69cb024 commit 0dcc771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Fixtures/SimpleObjectProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Doctrine\Common\Persistence\Proxy as CommonProxy;
use Doctrine\Persistence\Proxy;

if (class_exists(CommonProxy::class)) {
if (interface_exists(CommonProxy::class)) {
class SimpleObjectProxy extends SimpleObject implements CommonProxy
{
/**
Expand Down

0 comments on commit 0dcc771

Please sign in to comment.