radiate-framework / framework

A WordPress plugin and theme framework
https://radiate-framework.github.io/
MIT License
4 stars 0 forks source link

`Radiate\Http\Client\Response::collect` method accepts a `$key` but `json` method does not. #130

Closed BenRutlandWeb closed 3 years ago

BenRutlandWeb commented 3 years ago

Describe the bug The Radiate\Http\Client\Response::collect method accepts a $key but the json method does not. One method is incorrect.

To Reproduce Steps to reproduce the behaviour:

  1. View Radiate\Http\Client\Response class methods.

Expected behaviour Either the collect method doesn't have a $key parameter, or the json method does have a $key parameter.