Release 2.20.0 (#4987)
This commit is contained in:
@@ -31,7 +31,7 @@ class CustomerMeta implements MetaTableTypeInterface
|
||||
{
|
||||
if (!($entity instanceof Customer)) {
|
||||
throw new \InvalidArgumentException(
|
||||
sprintf('Expected instanceof Customer, received "%s"', \get_class($entity))
|
||||
\sprintf('Expected instanceof Customer, received "%s"', \get_class($entity))
|
||||
);
|
||||
}
|
||||
$this->customer = $entity;
|
||||
|
||||
Reference in New Issue
Block a user