guzzle / guzzle-services

Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.
MIT License
253 stars 78 forks source link

The visit() method is expected to return a RequestInterface but it doesn't in JsonLocation #106

Closed Pinolo closed 8 years ago

Pinolo commented 8 years ago

in guzzle6, Serialize::prepareRequest() calls visit() but it expects a RequestInterface that goes to replace the one passed to the method. The visit() implementation of JsonLocation only writes to $this->jsonData and doesn't return anything, so the origina request is replaced with null.

Pinolo commented 8 years ago

Duplicated, sorry