Fixed broken retrieveAll() method

see [this comment](https://github.com/kbsali/php-redmine-api/commit/691e145173f90caa0867ba5925ef3cb05b794ad5#commitcomment-4574872).