Add type for fetch, and phpDoc comment

Add type for fetch:
allAssoc for more than one row


, and phpDoc comment