Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 76-78 (lines=3) @@
73
            $link = str_replace(self::ROW_ID_PLACEHOLDER, $id, $link);
74
        }
75
76
        foreach ($this->getLinkColumnPlaceholders() as $col) {
77
            $link = str_replace(':'.$col->getUniqueId().':', $row[$col->getUniqueId()], $link);
78
        }
79
80
        return $link;
81
    }

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

@@ 207-209 (lines=3) @@
204
            $link = str_replace(self::ROW_ID_PLACEHOLDER, rawurlencode($id), $link);
205
        }
206
207
        foreach ($this->getLinkColumnPlaceholders() as $col) {
208
            $link = str_replace(':'.$col->getUniqueId().':', rawurlencode($row[$col->getUniqueId()]), $link);
209
        }
210
211
        return $link;
212
    }