for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the IndoBank package.
*
* (c) Andri Desmana <andridesmana.pw | [email protected]>
*/
namespace Andes2912\IndoBank;
use App\Models\Bank;
class IndoBank
{
public function getBanks()
# code...
}
public function searchBanks($name = '')
$name
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function searchBanks(/** @scrutinizer ignore-unused */ $name = '')
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
public function findBank($key = '', $value = '')
$value
public function findBank($key = '', /** @scrutinizer ignore-unused */ $value = '')
$key
public function findBank(/** @scrutinizer ignore-unused */ $key = '', $value = '')
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.