Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class GithubFactory implements PlatformFactoryInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var \GuzzleHttp\ClientInterface |
||
14 | */ |
||
15 | protected $httpClient; |
||
16 | |||
17 | /** |
||
18 | * @param \GuzzleHttp\ClientInterface $httpClient |
||
19 | */ |
||
20 | public function __construct(HttpClientInterface $httpClient) |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param \Dandelion\Configuration\Vcs $vcs |
||
27 | * |
||
28 | * @return \Dandelion\VersionControl\Platform\PlatformInterface |
||
29 | */ |
||
30 | public function create(Vcs $vcs): PlatformInterface |
||
35 |