for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ThinkOne\LaravelSproutsocialsApi\RequestGroups;
/**
* Class Metadata
* @package ThinkOne\LaravelSproutsocialsApi\RequestGroups
*
*/
class Metadata extends AbstractRequestGroup
{
public function getClient($options = [])
$options
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function getClient(/** @scrutinizer ignore-unused */ $options = [])
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
return $this->api->get('metadata/client');
}
public function getCustomers($options = [])
return $this->api->get("{$this->customerId($options)}/metadata/customer");
public function getTags($options = [])
return $this->api->get("{$this->customerId($options)}/metadata/customer/tags");
public function getGroups($options = [])
return $this->api->get("{$this->customerId($options)}/metadata/customer/groups");
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.