The expression return $this->helperGetO...ntificacionVehicular()) could return the type CfdiUtils\Elements\CartaPorte30\Autotransporte which is incompatible with the type-hinted return CfdiUtils\Elements\Carta...IdentificacionVehicular. Consider adding an additional type-check to rule them out.
Loading history...
26
}
27
28
1
public function addIdentificacionVehicular(array $attributes = []): IdentificacionVehicular
The expression return $this->helperGetO...CartaPorte30\Seguros()) could return the type CfdiUtils\Elements\CartaPorte30\Autotransporte which is incompatible with the type-hinted return CfdiUtils\Elements\CartaPorte30\Seguros. Consider adding an additional type-check to rule them out.
Loading history...
38
}
39
40
1
public function addSeguros(array $attributes = []): Seguros
The expression return $this->helperGetO...rtaPorte30\Remolques()) could return the type CfdiUtils\Elements\CartaPorte30\Autotransporte which is incompatible with the type-hinted return CfdiUtils\Elements\CartaPorte30\Remolques. Consider adding an additional type-check to rule them out.
Loading history...
50
}
51
52
1
public function addRemolques(array $attributes = []): Remolques