Add phpdoc to signal return type of Loader::db

Adding the return type allows auto-completion systems
to automatically suggest methods and properties.
Merge pull request #1453 from mlocati/patch-5

Add phpdoc to signal return type of Loader::db