Showing 1 of 21 total issues
Method createElementDataMapping
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function createElementDataMapping(ReflectionProperty|ReflectionMethod $reflected): ElementDataMapping
{
$attribute = $reflected->getAttributes(AsXmlElement::class, ReflectionAttribute::IS_INSTANCEOF)[0];
/** @return array|Collection<int, mixed>|Xmlifiable|Stringable|null */