Review main Merged

32353[BUGFIX] Static access to Enumeration constants

Sascha Egerer CR +2 V +2 Easy +2 −2 updated 10/13/14, 17:50

Commit message

To get all available constants for a TYPO3\CMS\Core\Type\Enumeration
an instance of the Enumeration is required. This is changed by
defining the `getConstants` method as static and using
`get_called_class()` instead of `get_class($this)`.

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