]> git.joonet.de Git - adminer.git/commitdiff
Fix whitespace
authorJakub Vrana <jakub@vrana.cz>
Tue, 6 Feb 2018 11:50:36 +0000 (12:50 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 6 Feb 2018 11:50:44 +0000 (12:50 +0100)
adminer/drivers/elastic.inc.php

index 5bb600f932521724c8ee9fc4e77ce21395e606d0..39a7aa9eed765a97f1e81038294334612d571ef0 100644 (file)
@@ -269,7 +269,7 @@ if (isset($_GET["elastic"])) {
                $result = $connection->query('_stats');
                if ($result && $result['indices']) {
                        $indices = $result['indices'];
-                       foreach($indices as $indice => $stats) {
+                       foreach ($indices as $indice => $stats) {
                                $indexing = $stats['total']['indexing'];
                                $return[$indice] = $indexing['index_total'];
                        }
@@ -410,7 +410,7 @@ if (isset($_GET["elastic"])) {
        function alter_table($table, $name, $fields, $foreign, $comment, $engine, $collation, $auto_increment, $partitioning) {
                global $connection;
                $properties = array();
-               foreach($fields as $f) {
+               foreach ($fields as $f) {
                        $field_name = trim($f[1][0]);
                        $field_type = trim($f[1][1] ? $f[1][1] : "text");
                        $properties[$field_name] = array(