| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 27 | public static function create( |
||
| 28 | LoopInterface $loop, |
||
| 29 | AuthenticationInterface $auth, |
||
| 30 | array $options = [] |
||
| 31 | ): self { |
||
| 32 | $options = ApiSettings::getOptions($auth, $options, 'Async'); |
||
| 33 | $client = Factory::create($loop, $options); |
||
| 34 | return new self($client); |
||
| 35 | } |
||
| 36 | |||
| 60 |