Completed
Push — master ( b03e4f...bb3ad1 )
by Camilo
02:00
created
src/TgLog.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     public function downloadFile(File $file): TelegramDocument
112 112
     {
113 113
         $this->logger->debug('Downloading file from Telegram, creating URL');
114
-        $url = 'https://api.telegram.org/file/bot' . $this->botToken . '/' . $file->file_path;
114
+        $url = 'https://api.telegram.org/file/bot'.$this->botToken.'/'.$file->file_path;
115 115
         $this->logger->debug('About to perform request to begin downloading file');
116 116
         return new TelegramDocument($this->httpClient->get($url));
117 117
     }
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     final private function constructApiUrl(): TgLog
124 124
     {
125
-        $this->apiUrl = 'https://api.telegram.org/bot' . $this->botToken . '/';
125
+        $this->apiUrl = 'https://api.telegram.org/bot'.$this->botToken.'/';
126 126
         $this->logger->debug('Built up the API URL');
127 127
         return $this;
128 128
     }
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
         $this->methodName = substr($completeClassName, strrpos($completeClassName, '\\') + 1);
237 237
         $this->logger->info('About to perform API request', ['method' => $this->methodName]);
238 238
 
239
-        return $this->apiUrl . $this->methodName;
239
+        return $this->apiUrl.$this->methodName;
240 240
     }
241 241
 
242 242
     /**
Please login to merge, or discard this patch.
src/Telegram/Types/Custom/ChatMembersArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * Traverses through our $data, yielding the result set
30 30
      *
31
-     * @return ChatMember[]
31
+     * @return \Generator
32 32
      */
33 33
     public function traverseObject()
34 34
     {
Please login to merge, or discard this patch.
src/Telegram/Types/Custom/InlineKeyboardButtonArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * Traverses through our $data, yielding the result set
32 32
      *
33
-     * @return Button[]
33
+     * @return \Generator
34 34
      */
35 35
     public function traverseObject()
36 36
     {
Please login to merge, or discard this patch.
src/Telegram/Types/Custom/KeyboardButtonArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * Traverses through our $data, yielding the result set
32 32
      *
33
-     * @return KeyboardButton[]
33
+     * @return \Generator
34 34
      */
35 35
     public function traverseObject()
36 36
     {
Please login to merge, or discard this patch.
src/Telegram/Types/Custom/MessageEntityArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * Traverses through our $data, yielding the result set
30 30
      *
31
-     * @return MessageEntity[]
31
+     * @return \Generator
32 32
      */
33 33
     public function traverseObject()
34 34
     {
Please login to merge, or discard this patch.
src/Telegram/Types/Custom/PhotoSizeArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * Traverses through our $data, yielding the result set
30 30
      *
31
-     * @return PhotoSize[]
31
+     * @return \Generator
32 32
      */
33 33
     public function traverseObject()
34 34
     {
Please login to merge, or discard this patch.
src/Telegram/Types/Custom/UpdatesArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Traverses through our $data, yielding the result set
31 31
      *
32
-     * @return Update[]
32
+     * @return \Generator
33 33
      */
34 34
     public function traverseObject()
35 35
     {
Please login to merge, or discard this patch.
src/Telegram/Types/Custom/GameHighScoreArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * Traverses through our $data, yielding the result set
29 29
      *
30
-     * @return GameHighScore[]
30
+     * @return \Generator
31 31
      */
32 32
     public function traverseObject()
33 33
     {
Please login to merge, or discard this patch.
src/Telegram/Types/Custom/UserProfilePhotosArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * Traverses through our $data, yielding the result set
30 30
      *
31
-     * @return PhotoSize[]
31
+     * @return \Generator
32 32
      */
33 33
     public function traverseObject()
34 34
     {
Please login to merge, or discard this patch.