Skip to content

Commit f1075cf

Browse files
committed
refactor: remove unused Github\Client dependency from WebhookService
1 parent d7c6c76 commit f1075cf

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/Services/WebhookService.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,11 @@
22

33
namespace CSlant\GitHubProject\Services;
44

5-
use Github\Client;
65
use Illuminate\Http\JsonResponse;
76
use Symfony\Component\HttpFoundation\Request;
87

98
class WebhookService
109
{
11-
protected Client $client;
12-
13-
public function __construct(Client $client)
14-
{
15-
$this->client = $client;
16-
}
17-
1810
public function eventRequestApproved(Request $request): bool
1911
{
2012
$event = $request->server->get('HTTP_X_GITHUB_EVENT');

0 commit comments

Comments
 (0)