Completed
Pull Request — master (#47)
by Rick
03:20
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/Abstracts/TraversableCustomType.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
  */
11 11
 abstract class TraversableCustomType extends CustomType implements \IteratorAggregate
12 12
 {
13
-	public function getIterator(): \Traversable
14
-	{
15
-		return new \ArrayIterator($this->data);
16
-	}
13
+ public function getIterator(): \Traversable
14
+ {
15
+  return new \ArrayIterator($this->data);
16
+ }
17 17
 }
18 18
\ No newline at end of file
Please login to merge, or discard this patch.