Code Duplication    Length = 12-12 lines in 2 locations

htdocs/class/libraries/vendor/kint-php/kint/src/Renderer/Rich.php 1 location

@@ 437-448 (lines=12) @@
434
        return $string;
435
    }
436
437
    protected function getPlugin(array $plugins, array $hints)
438
    {
439
        if ($plugins = $this->matchPlugins($plugins, $hints)) {
440
            $plugin = end($plugins);
441
442
            if (!isset($this->plugin_objs[$plugin])) {
443
                $this->plugin_objs[$plugin] = new $plugin($this);
444
            }
445
446
            return $this->plugin_objs[$plugin];
447
        }
448
    }
449
450
    protected function ideLink($file, $line)
451
    {

htdocs/class/libraries/vendor/kint-php/kint/src/Renderer/Text.php 1 location

@@ 283-294 (lines=12) @@
280
        return $this->escape(Kint::shortenPath($file)).':'.$line;
281
    }
282
283
    protected function getPlugin(array $plugins, array $hints)
284
    {
285
        if ($plugins = $this->matchPlugins($plugins, $hints)) {
286
            $plugin = end($plugins);
287
288
            if (!isset($this->plugin_objs[$plugin])) {
289
                $this->plugin_objs[$plugin] = new $plugin($this);
290
            }
291
292
            return $this->plugin_objs[$plugin];
293
        }
294
    }
295
296
    public function escape($string, $encoding = false)
297
    {