Passed
Push — master ( fc528a...501070 )
by Nicolaas
10:25
created
src/ArchiveOldRecords.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $oldTable = $this->getTable();
65 65
         $newTable = $this->getArchiveTable();
66 66
         $deleteOnly = Config::inst()->get(static::class, 'delete_only');
67
-        if (! $this->tableExists($newTable) && $deleteOnly !== true) {
67
+        if (!$this->tableExists($newTable) && $deleteOnly !== true) {
68 68
             DB::query('CREATE TABLE "' . $newTable . '" LIKE "' . $oldTable . '";');
69 69
         }
70 70
     }
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     {
99 99
         if (null === $this->_schema) {
100 100
             $this->_schema = DB::get_schema();
101
-            $this->_schema->schemaUpdate(function () {
101
+            $this->_schema->schemaUpdate(function() {
102 102
                 return true;
103 103
             });
104 104
         }
Please login to merge, or discard this patch.