Review TYPO3_8-7 Merged

56552[BUGFIX] Fix the return type annotations of JsonView

Frank Nägler CR +2 V +2 Easy +3 −3 updated 04/04/18, 15:27

Commit message

transformValue will return the argument (mixed) untransformed if it is no
array or object and thus needs to return mixed as well.

transformObject will return a string for DateTime and hence needs to have
string as an additional return type.

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