Create implicit temporary value when an optimizer does require a return value, fixing PSR2