Review 9.5 Merged

61064[BUGFIX] Use late static binding return type for Enumeration::cast

Benni Mack CR +2 V +2 Easy +4 −5 updated 06/27/19, 11:28

Commit message

The return type annotation must be `static` instead of `self` as the
method returns an instance of the inheriting class.

Do also replace some occurrences of get_calling_class()
by static::class

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 1