Completed
Pull Request — master (#43)
by Dima
09:15
created
src/MySql/AuditDiffTable.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
   /**
90 90
    * Check full and return array without new or obsolete columns if full not set.
91 91
    *
92
-   * @return DiffTableColumns
92
+   * @return TableColumnsMetadata
93 93
    */
94 94
   public function removeMatchingColumns()
95 95
   {
@@ -139,9 +139,9 @@  discard block
 block discarded – undo
139 139
   /**
140 140
    * Add not null to audit columns if it not nullable.
141 141
    *
142
-   * @param array $theColumns Audit columns.
142
+   * @param \array[] $theColumns Audit columns.
143 143
    *
144
-   * @return array
144
+   * @return \array[]
145 145
    */
146 146
   private function addNotNull($theColumns)
147 147
   {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,8 +125,7 @@
 block discarded – undo
125 125
           && $audit_character_set_name==$config_character_set_name
126 126
           && $audit_collation_name==$config_collation_name
127 127
           && $audit_collation_name==$data_collation_name
128
-        )
129
-        {
128
+        ) {
130 129
           $metadata->removeColumn($columnName);
131 130
         }
132 131
       }
Please login to merge, or discard this patch.
src/MySql/Helper/DiffTableHelper.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -194,9 +194,9 @@
 block discarded – undo
194 194
         $theName = $theOption;
195 195
       }
196 196
       $tableRow               = ['column_name' => $theName,
197
-                                 'data'        => $this->dataTableOptions[$theOption],
198
-                                 'audit'       => $this->auditTableOptions[$theOption],
199
-                                 'config'      => null];
197
+                                  'data'        => $this->dataTableOptions[$theOption],
198
+                                  'audit'       => $this->auditTableOptions[$theOption],
199
+                                  'config'      => null];
200 200
       $this->rows[$theOption] = $tableRow;
201 201
     }
202 202
   }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
       {
194 194
         $theName = $theOption;
195 195
       }
196
-      $tableRow               = ['column_name' => $theName,
196
+      $tableRow = ['column_name' => $theName,
197 197
                                  'data'        => $this->dataTableOptions[$theOption],
198 198
                                  'audit'       => $this->auditTableOptions[$theOption],
199 199
                                  'config'      => null];
Please login to merge, or discard this patch.