Code Duplication    Length = 4-4 lines in 2 locations

typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php 2 locations

@@ 863-866 (lines=4) @@
860
    public function pi_getEditPanel($row = [], $tablename = '', $label = '', $conf = [])
861
    {
862
        $panel = '';
863
        if (!$row || !$tablename) {
864
            $row = $this->internal['currentRow'];
865
            $tablename = $this->internal['currentTable'];
866
        }
867
        if ($this->frontendController->beUserLogin) {
868
            // Create local cObj if not set:
869
            if (!is_object($this->pi_EPtemp_cObj)) {
@@ 904-907 (lines=4) @@
901
    public function pi_getEditIcon($content, $fields, $title = '', $row = [], $tablename = '', $oConf = [])
902
    {
903
        if ($this->frontendController->beUserLogin) {
904
            if (!$row || !$tablename) {
905
                $row = $this->internal['currentRow'];
906
                $tablename = $this->internal['currentTable'];
907
            }
908
            $conf = array_merge([
909
                'beforeLastTag' => 1,
910
                'iconTitle' => $title