Skip to content

Add phpstan & update send notification handle #5

Add phpstan & update send notification handle

Add phpstan & update send notification handle #5

Triggered via pull request November 10, 2023 16:34
Status Failure
Total duration 47s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
phpstan: src/Http/Actions/WebhookAction.php#L15
Parameter #1 $token of method CSlant\TelegramGitNotifier\Webhook::setToken() expects string, mixed given.
phpstan: src/Http/Actions/WebhookAction.php#L16
Parameter #1 $url of method CSlant\TelegramGitNotifier\Webhook::setUrl() expects string, mixed given.
phpstan: src/Services/NotificationService.php#L100
Parameter #3 $payload of method CSlant\TelegramGitNotifier\Objects\Validator::isAccessEvent() expects object, mixed given.
phpstan
Process completed with exit code 1.