| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 13 | class Configuration extends Github\Sanity |
||
| 14 | {
|
||
| 15 | /** @var string */ |
||
| 16 | public $clientId; |
||
| 17 | |||
| 18 | /** @var string */ |
||
| 19 | public $clientSecret; |
||
| 20 | |||
| 21 | /** @var string[] */ |
||
| 22 | public $scopes; |
||
| 23 | |||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string |
||
| 27 | * @param string |
||
| 28 | * @param string[] |
||
| 29 | */ |
||
| 30 | public function __construct($clientId, $clientSecret, array $scopes = []) |
||
| 35 | } |
||
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * @param array $conf |
||
| 40 | * @return Configuration |
||
| 41 | */ |
||
| 42 | public static function fromArray(array $conf) |
||
| 48 |