Skip to content

Commit b972442

Browse files
authored
Nullable PHP 8.4 deprications (#62)
1 parent 3fb61a1 commit b972442

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Command/Webhook/SetCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ private function setWebhook(
104104
SymfonyStyle $io,
105105
string $name,
106106
BotApi $api,
107-
string $urlOrHostname = null,
108-
\CURLFile $certificateFile = null,
109-
array $allowedUpdates = null
107+
?string $urlOrHostname = null,
108+
?\CURLFile $certificateFile = null,
109+
?array $allowedUpdates = null
110110
): bool {
111111
$io->block(sprintf('Bot "%s"', $name));
112112

0 commit comments

Comments
 (0)