Include return value when generating scope methods

It's handy to specify return values in phpDoc comments. This patch sets the return value to the containing class.
Merge pull request #1 from claar/patch-2

Include return value when generating scope methods