Test Failed
Pull Request — master (#4)
by Vladislav
14:06 queued 06:14
created

GetTradingFeeRateRequestOptions   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 24
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getSymbol() 0 3 1
A setSymbol() 0 4 1
1
<?php
2
namespace Carpenstar\ByBitAPI\Derivatives\Contract\Account\GetTradingFeeRate\Options;
3
4
use Carpenstar\ByBitAPI\Core\Objects\OptionsEntity;
0 ignored issues
show
Bug introduced by
The type Carpenstar\ByBitAPI\Core\Objects\OptionsEntity was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
5
6
class GetTradingFeeRateRequestOptions extends OptionsEntity
7
{
8
    /**
9
     * Symbol name
10
     * @var string $symbol
11
     */
12
    protected string $symbol;
13
14
    /**
15
     * @return string
16
     */
17
    public function getSymbol(): string
18
    {
19
        return $this->symbol;
20
    }
21
22
    /**
23
     * @param string $symbol
24
     * @return GetTradingFeeRateRequestOptions
25
     */
26
    public function setSymbol(string $symbol): self
27
    {
28
        $this->symbol = $symbol;
29
        return $this;
30
    }
31
}