Add phpdoc to ant build.

Signed-off-by: crynobone <crynobone@gmail.com>
Fixed docblock based on phpdoc findings.

Signed-off-by: crynobone <crynobone@gmail.com>