This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
10
{
11
const ENDPOINT = 'stock/{symbol}/delayed-quote';
12
13
/**
14
* @var bool
15
*/
16
protected $oddLot = false;
17
18
/**
19
* Create constructor.
20
*
21
* @param IEXCloud $api
22
*/
23
3
public function __construct(IEXCloud $api)
24
{
25
3
parent::__construct($api);
26
3
}
27
28
/**
29
* If the oddLot property is set, add it to the end of the endpoint string.
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.