emcconville / google-map-polyline-encoding-tool

A simple class to handle polyline-encoding for Google Maps
Other
156 stars 40 forks source link

Calling new instance of Polyline will redirect to __call method. #11

Closed emcconville closed 9 years ago

emcconville commented 10 years ago

When extending Polyline, subclass constructors gets redirected to parent::__call method.

class Foo extends Poyline { } 
$foo = new Foo;
PHP Deprecated:  Polyline::polyline deprecated. in .../src/Polyline.php on line 131
emcconville commented 9 years ago

This was resolved in v1.2.4.