Completed
Pull Request — 2.0 (#7)
by Raphaël
02:54
created
src/ZohoDatabaseCopier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,13 +82,13 @@
 block discarded – undo
82 82
             $existedColumns = $this->connection->getSchemaManager()->listTableColumns($tableName);
83 83
             $existLastActivityTime = false;
84 84
             foreach ($existedColumns as $existedColumn) {
85
-                if($existedColumn->getName() == 'lastActivityTime'){
85
+                if ($existedColumn->getName() == 'lastActivityTime') {
86 86
                     $existLastActivityTime = true;
87 87
                     break;
88 88
                 }
89 89
             }
90 90
             // To avoid checking this column when it is not used in a table.
91
-            if($existLastActivityTime){
91
+            if ($existLastActivityTime) {
92 92
                 /////'SHOW COLUMNS FROM '.$tableName.' LIKE `lastActivityTime`');
93 93
                 // Let's get the last modification date:
94 94
                 $lastActivityTime = $this->connection->fetchColumn('SELECT MAX(lastActivityTime) FROM '.$tableName);
Please login to merge, or discard this patch.