File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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! ' );
You can’t perform that action at this time.
0 commit comments