Code Duplication    Length = 3-3 lines in 2 locations

src/ZfcDatagrid/Column/Action/AbstractAction.php 1 location

@@ 117-119 (lines=3) @@
114
            $link = str_replace(self::ROW_ID_PLACEHOLDER, $id, $link);
115
        }
116
117
        foreach ($this->getLinkColumnPlaceholders() as $col) {
118
            $link = str_replace(':' . $col->getUniqueId() . ':', $row[$col->getUniqueId()], $link);
119
        }
120
121
        return $link;
122
    }

src/ZfcDatagrid/Column/Formatter/HtmlTag.php 1 location

@@ 280-282 (lines=3) @@
277
            $link = str_replace(self::ROW_ID_PLACEHOLDER, rawurlencode($id), $link);
278
        }
279
280
        foreach ($this->getLinkColumnPlaceholders() as $col) {
281
            $link = str_replace(':' . $col->getUniqueId() . ':', rawurlencode($row[$col->getUniqueId()]), $link);
282
        }
283
284
        return $link;
285
    }