Tweaked PHPDoc (more explicit types, less warnings).
Merge pull request #28 from Rarst/phpdoc

Tweaked PHPDoc (more explicit types, less warnings).