Fixed many phpdoc errors

Title is self-explanatory.
It is not. It is absolutely necessary for IDEs to link the different part of an application.

![image](https://cloud.githubusercontent.com/assets/671923/4655819/bdebeca6-54c9-11e4-8610-c4889cfbc161.png)