Code Duplication    Length = 8-9 lines in 2 locations

src/XRobotsTagParser/Rebuild.php 2 locations

@@ 45-52 (lines=8) @@
42
     *
43
     * @return void
44
     */
45
    private function noindex()
46
    {
47
        if (!isset($this->directiveArray['noindex'])) {
48
            return;
49
        }
50
        $this->directiveArray['noarchive'] = true;
51
        $this->reRun = true;
52
    }
53
54
    /**
55
     * Directive none
@@ 59-67 (lines=9) @@
56
     *
57
     * @return void
58
     */
59
    private function none()
60
    {
61
        if (!isset($this->directiveArray['none'])) {
62
            return;
63
        }
64
        $this->directiveArray['noindex'] = true;
65
        $this->directiveArray['nofollow'] = true;
66
        $this->reRun = true;
67
    }
68
69
    /**
70
     * Directive unavailable_after