| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | { |
||
| 13 | $config['handler'] = self::createHandlerStack($handler); |
||
| 14 | |||
| 15 | return new Client($config); |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Like HandlerStack::create() except no http_errors |
||
| 20 | * @return HandlerStack |
||
| 21 | */ |
||
| 22 | public static function createHandlerStack(CurlMultiHandler $handler) : HandlerStack |
||
| 31 | } |