src/Contact/ContactsRepository.php
Avoid unused parameters such as '$params'. Open
Open
public function getLinks($params = [])
- 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
Avoid unused parameters such as '$contacts'. Open
Open
public function set($contacts)
- 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
TODO found Open
Open
// TODO implement
- Exclude checks
Parameter $params
is never used Open
Open
public function getLinks($params = [])
- Exclude checks
Parameter $contacts
is never used Open
Open
public function set($contacts)
- Exclude checks
Possibly zero references to public method \amocrm\Contact\ContactsRepository::set()
Open
Open
public function set($contacts)
- Exclude checks
Possibly zero references to public method \amocrm\Contact\ContactsRepository::getList()
Open
Open
public function getList($params = [])
- Exclude checks
Possibly zero references to public method \amocrm\Contact\ContactsRepository::getLinks()
Open
Open
public function getLinks($params = [])
- Exclude checks