Total Complexity | 6 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | class Config { |
||
31 | |||
32 | /** @var IConfig */ |
||
33 | private $config; |
||
34 | |||
35 | public function __construct(IConfig $config) { |
||
36 | $this->config = $config; |
||
37 | } |
||
38 | |||
39 | public function getDsn(): ?string { |
||
42 | } |
||
43 | |||
44 | public function getPublicDsn(): ?string { |
||
45 | $publicDsn = $this->config->getSystemValueString('sentry.public-dsn'); |
||
46 | return $publicDsn === '' ? null : $publicDsn; |
||
47 | } |
||
48 | |||
49 | public function getReportUrl(): ?string { |
||
51 | } |
||
52 | |||
53 | } |
||
54 |