cderue/GoogleMaps — pull request #3 by AV4TAr (2013-10-11 17:55:14+00:00)
Title: Fix geometry bound

When trying to geocode for "222 Broadway, New York, NY" i got this:

Fatal error: Call to a member function getArrayCopy() on a non-object in .../vendor/cderue/googlemaps/src/GoogleMaps/Resources/Geometry.php on line 99

In this case Google is not sending the bounds section in the response. As in Geometry::exchangeArray you are skipping the creation of the LatLngBounds object when "bounds" is not set. I added the same check in Geometry::getArrayCopy section.