Update Virtual Method Signature
An error is triggered when the signature of a method override differs from the signature of the overridden virtual method.
Place the editor cursor on the error’s line and press Ctrl+1, select Update … signature to match … definition from the list of quick fix proposals and press Enter.
The method signature (return type, argument names, types, directions and default values) is updated accordingly to match the parent class definition: