The expression return $this->helperGetO...ents\Cce20\Domicilio()) could return the type CfdiUtils\Elements\Cce20\Receptor which is incompatible with the type-hinted return CfdiUtils\Elements\Cce20\Domicilio. Consider adding an additional type-check to rule them out.
Loading history...
17
}
18
19
1
public function addDomicilio(array $attributes = []): Domicilio