better IDE typehinting

Replaced array phpdoc type with Class[]
Merge pull request #48 from xpavp03/patch-3

better IDE typehinting