Completed
Push — master ( 7abd25...aaa9e1 )
by Daniel
03:00
created
source/MySQLiByDanielGP.php 2 patches
Doc Comments   +10 added lines, -9 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * returns a list of MySQL databases
141 141
      *
142
-     * @return array
142
+     * @return string
143 143
      */
144 144
     protected function getMySQLactiveDatabases()
145 145
     {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     /**
150 150
      * returns a list of active MySQL engines
151 151
      *
152
-     * @return array
152
+     * @return string
153 153
      */
154 154
     protected function getMySQLactiveEngines()
155 155
     {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     /**
178 178
      * returns the list of all MySQL global variables
179 179
      *
180
-     * @return array
180
+     * @return string
181 181
      */
182 182
     protected function getMySQLglobalVariables()
183 183
     {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     /**
188 188
      * returns a list of MySQL indexes (w. choice of to choose any combination of db/table/column)
189 189
      *
190
-     * @return array
190
+     * @return string
191 191
      */
192 192
     protected function getMySQLlistColumns($filterArray = null)
193 193
     {
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     /**
198 198
      * returns a list of MySQL databases (w. choice of exclude/include the system ones)
199 199
      *
200
-     * @return array
200
+     * @return string
201 201
      */
202 202
     protected function getMySQLlistDatabases($excludeSystemDbs = true)
203 203
     {
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     /**
208 208
      * returns a list of MySQL engines (w. choice of return only the active ones)
209 209
      *
210
-     * @return array
210
+     * @return string
211 211
      */
212 212
     protected function getMySQLlistEngines($onlyActiveOnes = true)
213 213
     {
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     /**
218 218
      * returns a list of MySQL indexes (w. choice of to choose any combination of db/table/column)
219 219
      *
220
-     * @return array
220
+     * @return string
221 221
      */
222 222
     protected function getMySQLlistIndexes($filterArray = null)
223 223
     {
@@ -227,6 +227,8 @@  discard block
 block discarded – undo
227 227
     /**
228 228
      * Return various informations (from predefined list) from the MySQL server
229 229
      *
230
+     * @param string $returnChoice
231
+     * @param string $returnType
230 232
      * @return string
231 233
      */
232 234
     private function getMySQLlistMultiple($returnChoice, $returnType, $additionalFeatures = null)
@@ -580,7 +582,7 @@  discard block
 block discarded – undo
580 582
      *
581 583
      * @param array $entryArray
582 584
      * @param string $referenceTable
583
-     * @return array
585
+     * @return string
584 586
      */
585 587
     private function setArrayToFilterValues($entryArray, $referenceTable = '')
586 588
     {
@@ -626,7 +628,6 @@  discard block
 block discarded – undo
626 628
     /**
627 629
      * Returns maximum length for a given MySQL field
628 630
      *
629
-     * @param string $field_full_type
630 631
      * @return array
631 632
      */
632 633
     protected function setFieldNumbers($fieldDetails, $outputFormated = false)
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      */
293 293
     protected function getRowDataFromTable($tableName, $filtersArray)
294 294
     {
295
-        $query   = $this->sQueryRowsFromTable([
295
+        $query = $this->sQueryRowsFromTable([
296 296
             $tableName,
297 297
             $this->setArrayToFilterValues($filtersArray),
298 298
         ]);
@@ -568,7 +568,7 @@  discard block
 block discarded – undo
568 568
 
569 569
     private function stFldLmtsExact($colType)
570 570
     {
571
-        $xct     = [
571
+        $xct = [
572 572
             'bigint'    => ['l' => -9223372036854775808, 'L' => 999999999999, 's' => 21, 'sUS' => 20],
573 573
             'int'       => ['l' => -2147483648, 'L' => 2147483647, 's' => 11, 'sUS' => 10],
574 574
             'mediumint' => ['l' => -8388608, 'L' => 8388607, 's' => 9, 'sUS' => 8],
@@ -636,7 +636,7 @@  discard block
 block discarded – undo
636 636
                     case 'array_numbered':
637 637
                     case 'array_pairs_key_value':
638 638
                     case 'full_array_key_numbered':
639
-                        $aReturn           = $this->setMySQLquery2ServerByPattern([
639
+                        $aReturn = $this->setMySQLquery2ServerByPattern([
640 640
                             'NoOfColumns' => $result->field_count,
641 641
                             'NoOfRows'    => $result->num_rows,
642 642
                             'QueryResult' => $result,
@@ -646,7 +646,7 @@  discard block
 block discarded – undo
646 646
                         break;
647 647
                     case 'full_array_key_numbered_with_record_number_prefix':
648 648
                     case 'full_array_key_numbered_with_prefix':
649
-                        $aReturn           = $this->setMySQLquery2ServerByPattern([
649
+                        $aReturn = $this->setMySQLquery2ServerByPattern([
650 650
                             'NoOfColumns' => $result->field_count,
651 651
                             'NoOfRows'    => $result->num_rows,
652 652
                             'QueryResult' => $result,
Please login to merge, or discard this patch.