Update RepresentationTrait.php

a little mistake
Merge pull request #1 from jeromeWeb/patch-1

Update RepresentationTrait.php