From a7632fd9fd9abc33080e0d100526181187dc373c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 6 Feb 2018 12:50:36 +0100 Subject: [PATCH] Fix whitespace --- adminer/drivers/elastic.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adminer/drivers/elastic.inc.php b/adminer/drivers/elastic.inc.php index 5bb600f9..39a7aa9e 100644 --- a/adminer/drivers/elastic.inc.php +++ b/adminer/drivers/elastic.inc.php @@ -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(