Completed
Push — master ( 2177e8...5b06fe )
by Felipe
12s
created
src/classes/PluginManager.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * Register the plugins
31
-         *
32
-         * @param \Slim\Container $container
33
-         * @internal param $this ->language - Language that have been used.
34
-         * @throws \Interop\Container\Exception\ContainerException
35
-         * @throws \Slim\Exception\ContainerValueNotFoundException
31
+     *
32
+     * @param \Slim\Container $container
33
+     * @internal param $this ->language - Language that have been used.
34
+     * @throws \Interop\Container\Exception\ContainerException
35
+     * @throws \Slim\Exception\ContainerValueNotFoundException
36 36
      */
37 37
         public function __construct(\Slim\Container $container)
38 38
         {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
     /**
71 71
      * Add a plugin in the list of plugins to manage
72
-         *
72
+     *
73 73
      * @param $plugin - Instance from plugin
74 74
      */
75 75
         public function add_plugin($plugin)
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 
108 108
     /**
109 109
      * Execute the plugins hook functions when needed.
110
-         *
110
+     *
111 111
      * @param $hook - The place where the function will be called
112 112
      * @param $function_args - An array reference with arguments to give to called function
113 113
      */
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
     /**
129 129
      * Execute a plugin's action
130
-         *
130
+     *
131 131
      * @param $plugin_name - The plugin name.
132 132
      * @param $action - action that will be executed.
133 133
      */
Please login to merge, or discard this patch.
src/controllers/DisplayController.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,10 +248,12 @@
 block discarded – undo
248 248
 
249 249
         $_gets['strings'] = $_REQUEST['strings'];
250 250
 
251
-        if ($save_history && is_object($rs) && ($type == 'QUERY')) //{
251
+        if ($save_history && is_object($rs) && ($type == 'QUERY')) {
252
+            //{
252 253
         {
253 254
             $misc->saveScriptHistory($_REQUEST['query']);
254 255
         }
256
+        }
255 257
 
256 258
         if (isset($_REQUEST['query'])) {
257 259
             $query = $_REQUEST['query'];
Please login to merge, or discard this patch.
src/xhtml/HTMLController.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,9 +170,11 @@
 block discarded – undo
170 170
     public static function printCombo(&$arrOptions, $szName, $bBlankEntry = true, $szDefault = '', $bMultiple = false, $iSize = 10)
171 171
     {
172 172
         $htmlOut = '';
173
-        if ($bMultiple) // If multiple select combo
173
+        if ($bMultiple) {
174
+            // If multiple select combo
174 175
         {
175 176
             $htmlOut .= "<select rel=\"printCombo\" name=\"$szName\" id=\"$szName\" multiple=\"multiple\" size=\"$iSize\">" . "\n";
177
+        }
176 178
         } else {
177 179
             $htmlOut .= "<select rel=\"printCombo\" class=\"select2\" name=\"$szName\" id=\"$szName\">" . "\n";
178 180
         }
Please login to merge, or discard this patch.
src/database/Connection.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
         // Detect version and choose appropriate database driver
116 116
         switch (substr($version, 0, 3)) {
117 117
             case '10.0';
118
-		        return 'Postgres96';
118
+                return 'Postgres96';
119 119
                 break;
120 120
             case '9.7':
121 121
                 return 'Postgres96';
Please login to merge, or discard this patch.