src/app/n2n/impl/persistence/orm/property/hangar/relation/ManyToOnePropDef.php
public function resetPropSourceDef(PropSourceDef $propSourceDef) {
		if ($propSourceDef->hasPhpPropertyAnno(AnnoManyToOne::class)) {
			$phpAnno = $propSourceDef->getPhpPropertyAnno(AnnoManyToOne::class);
			$localName = OrmRelationMagCollection::determineLocalName($phpAnno->getPhpAnnoParam(1));
			$typeName = $propSourceDef->determineTypeName($localName);
			if (null === $typeName && null !== ($phpTypeDef = $propSourceDef->getPhpTypeDef())) {
				$typeName = $phpTypeDef->getTypeName();
			}
			
			$propSourceDef->removePhpUse($typeName);
			$propSourceDef->removePhpPropertyAnno(AnnoManyToOne::class);
			$propSourceDef->removePhpUse(AnnoManyToOne::class);
		}
	}
public function resetPropSourceDef(PropSourceDef $propSourceDef) {
		if ($propSourceDef->hasPhpPropertyAnno(AnnoManyToOne::class)) {
			$phpAnno = $propSourceDef->getPhpPropertyAnno(AnnoManyToOne::class);
			$localName = OrmRelationMagCollection::determineLocalName($phpAnno->getPhpAnnoParam(1));
			$typeName = $propSourceDef->determineTypeName($localName);
			if (null === $typeName && null !== ($phpTypeDef = $propSourceDef->getPhpTypeDef())) {
				$typeName = $phpTypeDef->getTypeName();
			}
			
			$propSourceDef->removePhpUse($typeName);
			$propSourceDef->removePhpPropertyAnno(AnnoManyToOne::class);
			$propSourceDef->removePhpUse(AnnoManyToOne::class);
		}
	}
{@inheritDoc}
@see \hangar\api\HangarPropDef::resetPropSourceDef()