less conditions on PhpClass toStringType