Completed
Push — master ( 067c7c...56a15a )
by Daniel
02:36
created
source/MySQLiByDanielGP.php 1 patch
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.
source/CommonBasic.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
         return $aDetails;
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $fileGiven
68
+     */
66 69
     protected function getFileDetailsRawStatistic(\SplFileInfo $info, $fileGiven)
67 70
     {
68 71
         return [
@@ -81,6 +84,9 @@  discard block
 block discarded – undo
81 84
         ];
82 85
     }
83 86
 
87
+    /**
88
+     * @param integer $timeAsPhpNumber
89
+     */
84 90
     private function getFileTimes($timeAsPhpNumber)
85 91
     {
86 92
         return [
@@ -94,7 +100,7 @@  discard block
 block discarded – undo
94 100
      *
95 101
      * @param type $sourcePath
96 102
      * @param type $targetPath
97
-     * @return type
103
+     * @return string
98 104
      */
99 105
     protected function moveFilesIntoTargetFolder($sourcePath, $targetPath)
100 106
     {
@@ -210,7 +216,7 @@  discard block
 block discarded – undo
210 216
     /**
211 217
      * Provides a list of all known JSON errors and their description
212 218
      *
213
-     * @return type
219
+     * @return null|string
214 220
      */
215 221
     protected function setJsonErrorInPlainEnglish()
216 222
     {
Please login to merge, or discard this patch.
source/MySQLiAdvancedOutput.php 1 patch
Doc Comments   +19 added lines, -7 removed lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@  discard block
 block discarded – undo
58 58
         return explode('.', str_replace('`', '', $tblSrc));
59 59
     }
60 60
 
61
+    /**
62
+     * @param string $fldType
63
+     */
61 64
     private function establishDefaultEnumSet($fldType)
62 65
     {
63 66
         $dfltArray = [
@@ -152,7 +155,6 @@  discard block
 block discarded – undo
152 155
      *
153 156
      * @param string $tblSrc
154 157
      * @param array $value
155
-     * @param array $features
156 158
      * @param array $iar
157 159
      * @return string
158 160
      */
@@ -217,7 +219,6 @@  discard block
 block discarded – undo
217 219
      * @param string $tbl
218 220
      * @param string $fieldType
219 221
      * @param array $value
220
-     * @param array $features
221 222
      * @param array $iar
222 223
      * @return string
223 224
      */
@@ -257,10 +258,8 @@  discard block
 block discarded – undo
257 258
     /**
258 259
      * Returns a Text field 2 use in a form
259 260
      *
260
-     * @param string $table_source
261 261
      * @param string $fieldType
262 262
      * @param array $value
263
-     * @param array $features
264 263
      * @param array $iar
265 264
      * @return string
266 265
      */
@@ -298,6 +297,9 @@  discard block
 block discarded – undo
298 297
         return $this->setStringIntoShortTag('input', $inAdtnl);
299 298
     }
300 299
 
300
+    /**
301
+     * @param string $tbl
302
+     */
301 303
     private function getFieldOutputTextPrerequisites($tbl, $value)
302 304
     {
303 305
         $foreignKeysArray = null;
@@ -311,6 +313,9 @@  discard block
 block discarded – undo
311 313
         return $foreignKeysArray;
312 314
     }
313 315
 
316
+    /**
317
+     * @param integer $szN
318
+     */
314 319
     private function getFieldOutputTT($value, $szN, $iar = [])
315 320
     {
316 321
         $inAdtnl = [
@@ -425,7 +430,7 @@  discard block
 block discarded – undo
425 430
      *
426 431
      * @param string $database
427 432
      * @param string $tblName
428
-     * @param string|array $onlyCols
433
+     * @param string|array $onlyCol
429 434
      * @return array
430 435
      */
431 436
     private function getForeignKeysToArray($database, $tblName, $onlyCol = '')
@@ -521,6 +526,10 @@  discard block
 block discarded – undo
521 526
         return array_merge([], $rOly, $rDbld, $rNl);
522 527
     }
523 528
 
529
+    /**
530
+     * @param string $fieldName
531
+     * @param string $featureKey
532
+     */
524 533
     private function handleFeaturesSingle($fieldName, $features, $featureKey)
525 534
     {
526 535
         $fMap    = [
@@ -618,7 +627,7 @@  discard block
 block discarded – undo
618 627
      * @param string $tableSource
619 628
      * @param array $details
620 629
      * @param array $features
621
-     * @return string|array
630
+     * @return null|string
622 631
      */
623 632
     private function setNeededField($tableSource, $details, $features)
624 633
     {
@@ -687,7 +696,7 @@  discard block
 block discarded – undo
687 696
      * @param string $tblName
688 697
      * @param array $details
689 698
      * @param array $features
690
-     * @return string|array
699
+     * @return string
691 700
      */
692 701
     private function setNeededFieldByType($tblName, $details, $features)
693 702
     {
@@ -790,6 +799,9 @@  discard block
 block discarded – undo
790 799
         ];
791 800
     }
792 801
 
802
+    /**
803
+     * @param string $sReturn
804
+     */
793 805
     private function setViewDeletePackedFinal($sReturn)
794 806
     {
795 807
         $finalJavascript = $this->setJavascriptContent(implode('', [
Please login to merge, or discard this patch.