Completed
Push — feature/improve-code ( 7d6b6d...e986a1 )
by Avtandil
15:08
created
examples/Commands/ImageCommand.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
     //return random picture from the telegram->getUploadPath();
48 48
     
49 49
     private function ShowRandomImage($dir) {
50
-		$image_list = scandir($dir);
51
-		return $dir . "/" . $image_list[mt_rand(2, count($image_list) - 1)];
52
-	}
50
+        $image_list = scandir($dir);
51
+        return $dir . "/" . $image_list[mt_rand(2, count($image_list) - 1)];
52
+    }
53 53
 
54 54
 }
Please login to merge, or discard this patch.
examples/getUpdatesCLI.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,10 +21,10 @@
 block discarded – undo
21 21
 
22 22
 // Enter your MySQL database credentials
23 23
 $mysql_credentials = [
24
-   'host'     => 'localhost',
25
-   'user'     => 'dbuser',
26
-   'password' => 'dbpass',
27
-   'database' => 'dbname',
24
+    'host'     => 'localhost',
25
+    'user'     => 'dbuser',
26
+    'password' => 'dbpass',
27
+    'database' => 'dbname',
28 28
 ];
29 29
 
30 30
 try {
Please login to merge, or discard this patch.