public/plugin/ims_lti/src/ImsLtiServiceUnsupportedResponse.php
Avoid unused parameters such as '$xmlBody'. Open
Open
protected function generateBody(SimpleXMLElement $xmlBody)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Doc comment for parameter $type does not match actual variable name $statusInfo Open
Open
* @param string $type
- Exclude checks