Passed
Push — master ( fcece8...566a2b )
by Nicolaas
09:36
created
src/Api/DatabaseActions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,9 +48,9 @@
 block discarded – undo
48 48
         echo 'CCCC';
49 49
         if ('_Versions' === substr((string) $tableName, -9) || $specialCase) {
50 50
             echo 'AAA';
51
-            $nonVersionedTable = substr((string) $tableName, 0, strlen( (string) $tableName) - 9);
51
+            $nonVersionedTable = substr((string) $tableName, 0, strlen((string) $tableName) - 9);
52 52
             echo 'BBB';
53
-            if ($this->hasTable($nonVersionedTable) ||  $specialCase) {
53
+            if ($this->hasTable($nonVersionedTable) || $specialCase) {
54 54
                 $this->truncateTable($tableName);
55 55
                 if ($leaveLastVersion) {
56 56
                     $fields = $this->getAllFieldsForOneTable($nonVersionedTable);
Please login to merge, or discard this patch.