diff --git a/src/ofxstatement/parser.py b/src/ofxstatement/parser.py index bd71cdc..387b050 100644 --- a/src/ofxstatement/parser.py +++ b/src/ofxstatement/parser.py @@ -57,7 +57,7 @@ def parse_record(self, line: LT) -> Optional[StatementLine]: # pragma: no cover """Parse given transaction line and return StatementLine object""" raise NotImplementedError - def parse_invest_record (self, line: LT) -> InvestStatementLine: # pragma: no cover + def parse_invest_record (self, line: LT) -> Optional[InvestStatementLine]: # pragma: no cover """Parse given investement transaction line and return InvetStatementLine object""" raise NotImplementedError