Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function __construct( |
||
15 | CredentialsInterface $credentials, |
||
16 | ClientInterface $httpClient, |
||
17 | TokenStorageInterface $storage, |
||
18 | SignatureInterface $signature, |
||
19 | UriInterface $baseApiUri = null |
||
20 | ) { |
||
21 | parent::__construct($credentials, $httpClient, $storage, $signature, $baseApiUri); |
||
22 | |||
23 | if (null === $baseApiUri) { |
||
24 | $this->baseApiUri = new Uri('https://api.fitbit.com/1/'); |
||
25 | } |
||
26 | } |
||
27 | |||
53 |