The expression return $this->helperGetO...Pagos20\RetencionesP()) could return the type CfdiUtils\Elements\Pagos20\ImpuestosP which is incompatible with the type-hinted return CfdiUtils\Elements\Pagos20\RetencionesP. Consider adding an additional type-check to rule them out.
Loading history...
25
}
26
27
public function addRetencionesP(array $attributes = []): RetencionesP
The expression return $this->helperGetO...s\Pagos20\TrasladosP()) could return the type CfdiUtils\Elements\Pagos20\ImpuestosP which is incompatible with the type-hinted return CfdiUtils\Elements\Pagos20\TrasladosP. Consider adding an additional type-check to rule them out.
Loading history...
37
}
38
39
public function addTrasladosP(array $attributes = []): TrasladosP