We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a71991 commit 3550533Copy full SHA for 3550533
src/Adapter/Doctrine/ORM/AutomaticQueryBuilder.php
@@ -46,7 +46,7 @@ public function __construct(EntityManagerInterface $em, ClassMetadata $metadata)
46
$this->metadata = $metadata;
47
48
$this->entityName = $this->metadata->getName();
49
- $this->entityShortName = mb_strtolower($this->metadata->getReflectionClass()?->getShortName() ?? self::DEFAULT_ALIAS);
+ $this->entityShortName = mb_strtolower($metadata->reflClass?->getShortName() ?? self::DEFAULT_ALIAS);
50
}
51
52
public function process(QueryBuilder $builder, DataTableState $state): void
0 commit comments