Code Duplication    Length = 5-5 lines in 2 locations

typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php 2 locations

@@ 944-948 (lines=5) @@
941
        try {
942
            $types = [];
943
944
            if ($platform instanceof SQLServerPlatform) {
945
                foreach ($curVersion as $columnName => $columnValue) {
946
                    $types[$columnName] = $tableDetails->getColumn($columnName)->getType()->getBindingType();
947
                }
948
            }
949
950
            $connection->update(
951
                $table,
@@ 963-967 (lines=5) @@
960
        if (empty($sqlErrors)) {
961
            try {
962
                $types = [];
963
                if ($platform instanceof SQLServerPlatform) {
964
                    foreach ($curVersion as $columnName => $columnValue) {
965
                        $types[$columnName] = $tableDetails->getColumn($columnName)->getType()->getBindingType();
966
                    }
967
                }
968
969
                $connection->update(
970
                    $table,