Skip to content

Commit 1021b9e

Browse files
committed
Linting
1 parent fa9e266 commit 1021b9e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/Telegram/Bot.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public function __construct(
5151
*
5252
* @return string The url.
5353
*/
54-
public function getApiUrl(): string {
54+
public function getApiUrl(): string
55+
{
5556
return $this->apiURL;
5657
}
5758

@@ -107,7 +108,8 @@ protected function replyAsPayload(string $method, array|object $arguments = []):
107108
*
108109
* @return bool Wheter the download was successfull or not.
109110
*/
110-
public function downloadFile(string $path, string $destination, $timeout = 10) {
111+
public function downloadFile(string $path, string $destination, $timeout = 10): bool
112+
{
111113
try {
112114
$client = new GuzzleClient([
113115
'timeout' => $timeout,

0 commit comments

Comments
 (0)