We're updating the issue view to help you get more done. 

Return type of Request::getParameter() method should be mixed

Description

Currently, the docblock for Request::getParameter() suggest the return will be a string: https://github.com/joindin/joindin-api/blob/master/src/inc/Request.php#L191states

However, as the paramter property can be the result of a JSON body (and they are not cast anywhere), then a value could be string, int, bool, and (I think) stdClass.

Suggest the docblock is updated to reflect this.

Status

Assignee

Giorgio Sironi

Reporter

Liam

Labels

Epic Name <span class="error">&#91;deprecated, this field is no longer being used&#93;</span>

None

Components

Priority

Trivial