diff --git a/.gitignore b/.gitignore
index 2cac7943..8b7317af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,9 @@
/composer.lock
/vendor
-/.idea
+
+!/.idea
+/.idea/*
+!/.idea/codeStyles
+!/.idea/codeStyles/codeStyleConfig.xml
+!/.idea/codeStyles/Project.xml
+!/.idea/sqldialects.xml
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
new file mode 100644
index 00000000..577881fc
--- /dev/null
+++ b/.idea/codeStyles/Project.xml
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 00000000..79ee123c
--- /dev/null
+++ b/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Bridges/NetteCaching/CachedPlatform.php b/src/Bridges/NetteCaching/CachedPlatform.php
index e1ecbcbb..485a4cff 100644
--- a/src/Bridges/NetteCaching/CachedPlatform.php
+++ b/src/Bridges/NetteCaching/CachedPlatform.php
@@ -1,13 +1,8 @@
cache->load(self::CACHE_VERSION . '.tables.' . $schema , function () use ($schema) {
+ return $this->cache->load(self::CACHE_VERSION . '.tables.' . $schema, function () use ($schema) {
return $this->platform->getTables($schema);
});
}
diff --git a/src/Bridges/NetteDI/DbalExtension.php b/src/Bridges/NetteDI/DbalExtension.php
index c0d42b6a..34f60b6a 100644
--- a/src/Bridges/NetteDI/DbalExtension.php
+++ b/src/Bridges/NetteDI/DbalExtension.php
@@ -1,13 +1,8 @@
addSetup('@Tracy\BlueScreen::addPanel', [BluescreenQueryPanel::class . '::renderBluescreenPanel']);
- $definition->addSetup(ConnectionPanel::class . '::install', ['@self', $config['panelQueryExplain'] ?? true]);
+ $definition->addSetup(
+ ConnectionPanel::class . '::install',
+ ['@self', $config['panelQueryExplain'] ?? true]
+ );
}
}
}
diff --git a/src/Bridges/NetteTracy/BluescreenQueryPanel.php b/src/Bridges/NetteTracy/BluescreenQueryPanel.php
index 669283c0..f1bc284a 100644
--- a/src/Bridges/NetteTracy/BluescreenQueryPanel.php
+++ b/src/Bridges/NetteTracy/BluescreenQueryPanel.php
@@ -1,13 +1,8 @@
Queries:
@@ -46,36 +65,38 @@ namespace Nextras\Dbal\Bridges\NetteTracy;
-
-
-
-
+ ?>
+
+
+
+
...and more
diff --git a/src/Bridges/NetteTracy/ConnectionPanel.php b/src/Bridges/NetteTracy/ConnectionPanel.php
index 6bf06d31..79b3594d 100644
--- a/src/Bridges/NetteTracy/ConnectionPanel.php
+++ b/src/Bridges/NetteTracy/ConnectionPanel.php
@@ -1,13 +1,8 @@
-