Marking Guzzle\Common\Collection::inject as deprecated. Using toArray() rather than getAll() when getting a Collection as an array