if it's ids, phpdoc for return is 'integer[]' and change method name to getAllMagentoGroupIds