src/services/RuCaptchaReCaptchaV3.php
Method init
has 136 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function init()
{
parent::init();
unset(
Avoid unused parameters such as '$null'. Open
Open
public function recognize($additionally = [], $null = null)
- 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
}
}