- /// - as xml comments in the payload, or
- /// - using std http header conventions, such as X-forwarded-for...
- $reqMethod = $encoder->decode($req->getParam(1));
+ /// - as xml comments in the payload, or
+ /// - using std http header conventions, such as X-forwarded-for...
+ $reqMethod = $req->getParam(1)->scalarval();