Code Duplication    Length = 3-3 lines in 2 locations

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

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

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

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