Review main Merged

69155[BUGFIX] Correct return type for FileReference methods

Chris Müller CR +2 V +2 Easy +30 −3 updated 08/09/21, 18:04

Commit message

The @return annotation for the following FileReference methods is set
to "string", but these methods can also return null:

- getTitle()
- getAlternative()
- getDescription()

To avoid problems with code quality tools and to ensure type
safety the return value of these methods is always casted to a
string.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2