Fixed totally incorrect docblocks

For example, `Integer` implies only an object of type `Integer` is allowed, but what you really meant was only a variable of a primitive type `int` is allowed.
Yeh, you had these in the wrong order. You must put the type first, and the variable name second, then the description.

And yeh, i made a typo there. It should say: `@param int $timeout (optional)`