We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7c6c76 commit f1075cfCopy full SHA for f1075cf
1 file changed
src/Services/WebhookService.php
@@ -2,19 +2,11 @@
2
3
namespace CSlant\GitHubProject\Services;
4
5
-use Github\Client;
6
use Illuminate\Http\JsonResponse;
7
use Symfony\Component\HttpFoundation\Request;
8
9
class WebhookService
10
{
11
- protected Client $client;
12
-
13
- public function __construct(Client $client)
14
- {
15
- $this->client = $client;
16
- }
17
18
public function eventRequestApproved(Request $request): bool
19
20
$event = $request->server->get('HTTP_X_GITHUB_EVENT');
0 commit comments