Completed
Push — master ( b5e5c9...4786de )
by Daniel
21:19 queued 05:40
created
source/FKchange.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                 'style'                => 'color:blue;font-weight:bold;',
77 77
                 'includeOldColumnType' => true,
78 78
             ]);
79
-            $sReturn[]    = $this->recreateFKs($elToModify, $targetTableTextFlds);
79
+            $sReturn[] = $this->recreateFKs($elToModify, $targetTableTextFlds);
80 80
         } else {
81 81
             $sReturn[] = $this->returnMessagesInCaseOfNoResults($mConnection);
82 82
         }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     {
108 108
         $sReturn = [];
109 109
         foreach ($targetTableTextFlds as $key => $value) {
110
-            $sReturn[]                                    = $this->createDropForeignKey([
110
+            $sReturn[] = $this->createDropForeignKey([
111 111
                 'Database'       => $value['TABLE_SCHEMA'],
112 112
                 'Table'          => $value['TABLE_NAME'],
113 113
                 'ForeignKeyName' => $value['CONSTRAINT_NAME'],
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
             'REFERENCED_COLUMN_NAME'  => $elToModify['Column'],
142 142
             'REFERENCED_TABLE_NAME'   => 'NOT NULL',
143 143
         ];
144
-        $query              = $this->sQueryMySqlIndexes($additionalFeatures);
144
+        $query = $this->sQueryMySqlIndexes($additionalFeatures);
145 145
         return $this->setMySQLquery2Server($query, 'full_array_key_numbered')['result'];
146 146
     }
147 147
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
             'TABLE_NAME'   => $elToModify['Table'],
153 153
             'COLUMN_NAME'  => $elToModify['Column'],
154 154
         ];
155
-        $col           = $this->getMySQLlistColumns($colToIdentify);
155
+        $col = $this->getMySQLlistColumns($colToIdentify);
156 156
         return [
157 157
             'Database'       => $targetTableTextFlds[0]['REFERENCED_TABLE_SCHEMA'],
158 158
             'Table'          => $targetTableTextFlds[0]['REFERENCED_TABLE_NAME'],
Please login to merge, or discard this patch.
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@  discard block
 block discarded – undo
51 51
         . $this->setApplicationFooter();
52 52
     }
53 53
 
54
+    /**
55
+     * @param \Symfony\Component\HttpFoundation\Request $sGb
56
+     */
54 57
     private function buildApplicationInterface($sGb)
55 58
     {
56 59
         $mysqlConfig          = $this->configuredMySqlServer();
@@ -63,6 +66,10 @@  discard block
 block discarded – undo
63 66
         return implode('', $sReturn);
64 67
     }
65 68
 
69
+    /**
70
+     * @param string|null $mConnection
71
+     * @param boolean $tParams
72
+     */
66 73
     private function buildResultsTab($mConnection, $elToModify, $tParams)
67 74
     {
68 75
         $sReturn             = [];
Please login to merge, or discard this patch.