GithubRepoConverter::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 3
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace DevBoardLib\GithubObjectApiFacade\Repo\Repo\Converter;
4
5
use DevBoardLib\GithubObjectApiFacade\User\Converter\GithubUserConvertTrait;
6
7
/**
8
 * Class GithubRepoConverter.
9
 */
10
class GithubRepoConverter
11
{
12
    use GithubRepoConvertTrait;
13
    use GithubUserConvertTrait;
14
15
    /**
16
     * GithubMilestoneConverter constructor.
17
     */
18
    public function __construct()
19
    {
20
    }
21
22
    /**
23
     * @param array $data
24
     *
25
     * @return \DevBoardLib\GithubCore\Repo\GithubRepoSource
26
     */
27
    public function convert(array $data)
28
    {
29
        return $this->convertRepo($data);
30
    }
31
}
32