Code Duplication    Length = 5-5 lines in 2 locations

src/Toolbox.php 2 locations

@@ 253-257 (lines=5) @@
250
        $this->config(static::TOOL_CONFIG_FILE, realpath($configFilePath));
251
        $configPath = dirname($this->config(static::TOOL_CONFIG_FILE));
252
253
        if (!empty($tool['description'])) {
254
            $this->config(static::TOOL_DESCRIPTION, $tool['description']);
255
        } else {
256
            $this->clearConfig(static::TOOL_DESCRIPTION);
257
        }
258
259
        if (!empty($tool['icon'])) {
260
            $this->config(static::TOOL_ICON_URL, (
@@ 275-279 (lines=5) @@
272
                $tool['launch-privacy']
273
        ));
274
275
        if (!empty($tool['domain'])) {
276
            $this->config(static::TOOL_DOMAIN, $tool['domain']);
277
        } else {
278
            $this->clearConfig(static::TOOL_DOMAIN);
279
        }
280
281
        $this->config(static::TOOL_LAUNCH_URL, (
282
            empty($tool['authenticate']) ?