rangka / quickbooks

PHP Library for connecting to QuickBooks.
MIT License
8 stars 11 forks source link

Fixed static access error #15

Closed jthomaschewski closed 7 years ago

jthomaschewski commented 7 years ago

The static property Service::$responseHasRoot is accessed dynamically with $this->responseHasRoot which results in errors like the following

Accessing static property Rangka\Quickbooks\Services\Vendor::$responseHasRoot as non static

I changed every $this->responseHasRoot to self::$responseHasRoot

khairulashraff commented 7 years ago

I have merged this however I have changed it to static instead for late static binding .

jthomaschewski commented 7 years ago

makes sense, my fault, thanks!