Skip to content

Commit 6578014

Browse files
rootroot
authored andcommitted
Fix ci
1 parent 8df89b1 commit 6578014

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Request.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,12 +605,12 @@ public static function setWebhook(
605605
$url = '',
606606
$max_connections = null,
607607
$file = null,
608-
$drop_pending_updates = False // Do not drop the updates by default
608+
$drop_pending_updates = false // Do not drop the updates by default
609609
) {
610610
$data['url'] = $url;
611611

612-
if ($drop_pending_updates == True) {
613-
$data['drop_pending_updates'] = True;
612+
if ($drop_pending_updates == true) {
613+
$data['drop_pending_updates'] = true;
614614
}
615615
if ($max_connections !== null) {
616616
$data['max_connections'] = $max_connections;

src/Telegram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ public function setWebHook(
726726
$url,
727727
$max_connections = null,
728728
$path_certificate = null,
729-
$drop_pending_updates = False // Do not drop the updates by default
729+
$drop_pending_updates = false // Do not drop the updates by default
730730
) {
731731
if (empty($url)) {
732732
throw new TelegramException('Hook url is empty!');

0 commit comments

Comments
 (0)