Code Duplication    Length = 18-18 lines in 2 locations

src/Helpers/Html.php 2 locations

@@ 542-559 (lines=18) @@
539
                        "pagetext" => $uVariables["pager_prev"]
540
                    ]
541
                );
542
            } else {
543
                if ($uVariables["pager_firstlast"]) {
544
                    $tResult .= String::format(
545
                        $uVariables["link"],
546
                        [
547
                            "page" => "1",
548
                            "pagetext" => $uVariables["pager_first"]
549
                        ]
550
                    );
551
                }
552
                $tResult .= String::format(
553
                    $uVariables["link"],
554
                    [
555
                        "page" => $uCurrent - 1,
556
                        "pagetext" => $uVariables["pager_prev"]
557
                    ]
558
                );
559
            }
560
561
            if ($tStart > 1) {
562
                $tResult .= $uVariables["pager_dots"];
@@ 616-633 (lines=18) @@
613
                        ]
614
                    );
615
                }
616
            } else {
617
                $tResult .= String::format(
618
                    $uVariables["link"],
619
                    [
620
                        "page" => $uCurrent + 1,
621
                        "pagetext" => $uVariables["pager_next"]
622
                    ]
623
                );
624
                if ($uVariables["pager_firstlast"]) {
625
                    $tResult .= String::format(
626
                        $uVariables["link"],
627
                        [
628
                            "page" => $tPages,
629
                            "pagetext" => $uVariables["pager_last"]
630
                        ]
631
                    );
632
                }
633
            }
634
        }
635
636
        return $tResult;