Code Duplication    Length = 3-3 lines in 2 locations

src/Renderer/Html/Bar.php 1 location

@@ 58-60 (lines=3) @@
55
                        'value' => null
56
                    ];
57
58
                    if (array_key_exists($collector->getPath(), $this->profile)) {
59
                        $data['value'] = $this->profile[$collector->getPath()];
60
                    }
61
                    $renderer->setData($data);
62
63
                    $data = [

src/Renderer/Html/Process.php 1 location

@@ 60-62 (lines=3) @@
57
                $data = [
58
                    'value' => null
59
                ];
60
                if (array_key_exists($collector->getPath(), $this->profile)) {
61
                    $data['value'] = $this->profile[$collector->getPath()];
62
                }
63
64
                $collectors[$collector->getName()] = $renderer->setData($data);
65
            }