Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | protected function getClient(): \Psr\Http\Client\ClientInterface |
||
42 | { |
||
43 | if (GeneralUtility::makeInstance(Typo3Version::class)->getMajorVersion() >= 12) { |
||
44 | return GeneralUtility::makeInstance(GuzzleClientFactory::class)->getClient(); |
||
45 | } |
||
46 | return GuzzleClientFactory::getClient(); |
||
|
|||
47 | } |
||
49 |