simplify entity name assumption
parent
737ee911e1
commit
5a0fa66a34
|
@ -106,8 +106,9 @@ class DynamicLoader extends NodeVisitorAbstract
|
||||||
$sym = new SymbolInformation($fieldName, SymbolKind::PROPERTY, Location::fromNode($entityNode), $classFqn);
|
$sym = new SymbolInformation($fieldName, SymbolKind::PROPERTY, Location::fromNode($entityNode), $classFqn);
|
||||||
|
|
||||||
// Create type
|
// Create type
|
||||||
array_push($entityParts, ucwords($enityName));
|
// array_push($entityParts, ucwords($enityName));
|
||||||
$typeName = implode('\\', $entityParts);
|
// $typeName = implode('\\', $entityParts);
|
||||||
|
$typeName = ucwords($enityName);
|
||||||
$type = new Types\Object_(new Fqsen('\\' . $typeName));
|
$type = new Types\Object_(new Fqsen('\\' . $typeName));
|
||||||
|
|
||||||
// Create defintion from symbol, type and all others
|
// Create defintion from symbol, type and all others
|
||||||
|
|
Loading…
Reference in New Issue