Add phpstan & update send notification handle #5
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.
|