Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
16 | 18 | public static function getClient(AdapterInterface $adapter): Client |
|
17 | { |
||
18 | 18 | $profileResponseBuilder = new ProfileResponseBuilder( |
|
19 | 18 | new CompanyBuilder( |
|
20 | 18 | new TradeNamesBuilder(), |
|
21 | 18 | new BusinessActivityBuilder(), |
|
22 | 18 | new AddressBuilder() |
|
23 | ) |
||
24 | ); |
||
25 | |||
26 | 18 | return new Client( |
|
27 | 18 | $adapter, |
|
28 | 18 | $profileResponseBuilder |
|
29 | ); |
||
30 | } |
||
31 | } |
||
32 |