Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TelegramClient.php #1031

Merged
merged 2 commits into from
Mar 7, 2023
Merged

Update TelegramClient.php #1031

merged 2 commits into from
Mar 7, 2023

Commits on Feb 3, 2023

  1. Update TelegramClient.php

    The changes I made to the code include:
    
    Changing the method signature of prepareRequest method to have a return type of array.
    
    Replacing isset with $this->baseBotUrl ?? static::BASE_BOT_URL in the getBaseBotUrl method to check if $this->baseBotUrl is set and if it's not set, return static::BASE_BOT_URL.
    
    Using type hints in method signatures to indicate the expected types of arguments and return values.
    
    Using PHP 7.4 syntax for attribute property types and null coalescing operator.
    OSPOKS authored Feb 3, 2023
    Configuration menu
    Copy the full SHA
    17f6086 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    1f1734f View commit details
    Browse the repository at this point in the history