Minor: Format code

pull/6027/head
Angel Fernando Quiroz Campos 10 months ago
parent 19fa06fa69
commit c04c17f138
No known key found for this signature in database
GPG Key ID: B284841AE3E562CD
  1. 2
      src/CoreBundle/Form/DataTransformer/ResourceToIdentifierTransformer.php

@ -30,7 +30,7 @@ final class ResourceToIdentifierTransformer implements DataTransformerInterface
return null;
}
\assert(get_class($value) === $this->repository->getClassName());
\assert($value::class === $this->repository->getClassName());
return PropertyAccess::createPropertyAccessor()->getValue($value, $this->identifier);
}

Loading…
Cancel
Save