| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function create( |
||
| 18 | Parameters $applicationParams, |
||
| 19 | EventDispatcherInterface $dispatcher, |
||
| 20 | LoggerInterface $logger, |
||
| 21 | QueryRepository $queryRepository |
||
| 22 | ) : ExternalLibraryJiraService { |
||
| 23 | return new ExternalLibraryJiraService( |
||
| 24 | new ExternalLibraryHttpClient( |
||
| 25 | new Client(['base_uri' => $applicationParams->jiraHost()]), |
||
| 26 | $applicationParams |
||
| 27 | ), |
||
| 28 | $logger, |
||
| 29 | $dispatcher, |
||
| 30 | $queryRepository |
||
| 31 | ); |
||
| 32 | } |
||
| 33 | } |
||
| 34 |