CS note: *all* blocks must be in braces: `foreach ($methodParameters as $param) {`, `if (isset($params[$param[0]])) {`, etc.