Removed unnecessary .gitignore file in vendor folder
Added vendor folder in .gitignore
Added .idea (PhpStorm) folder in .gitignore
Clean up in PHPDoc
Changed return statements of type array to ObjectType[] where it was needed