Code Duplication    Length = 9-9 lines in 2 locations

src/Handler/Help/HelpHandler.php 2 locations

@@ 104-112 (lines=9) @@
101
     *
102
     * @return HelpAsciiDocHandler The created handler.
103
     */
104
    public function createAsciiDocHandler(Args $args, IO $io, Command $command)
105
    {
106
        $path = $this->getAsciiDocPage($command->getApplication(), $args);
107
108
        $handler = new HelpAsciiDocHandler($path, $this->executableFinder, $this->processLauncher);
109
        $handler->setLessBinary($this->lessBinary);
110
111
        return $handler;
112
    }
113
114
    /**
115
     * Callback for creating the "--json" handler.
@@ 133-141 (lines=9) @@
130
     *
131
     * @return HelpManHandler The created handler.
132
     */
133
    public function createManHandler(Args $args, IO $io, Command $command)
134
    {
135
        $path = $this->getManPage($command->getApplication(), $args);
136
137
        $handler = new HelpManHandler($path, $this->executableFinder, $this->processLauncher);
138
        $handler->setManBinary($this->manBinary);
139
140
        return $handler;
141
    }
142
143
    /**
144
     * Callback for creating the "--text" handler.