| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 13 | public function __construct(?WebhookInterface $webhookInterface = null) |
||
| 14 | { |
||
| 15 | $this->webhookInterface = $webhookInterface ?? new Webhook(); |
||
| 16 | $this->webhookInterface->setToken(config('telegram-git-notifier.bot.token')); |
||
| 17 | $this->webhookInterface->setUrl(config('telegram-git-notifier.app.url')); |
||
| 18 | } |
||
| 68 |