Code Duplication    Length = 4-4 lines in 2 locations

src/TightConfig.php 2 locations

@@ 88-91 (lines=4) @@
85
            $this->smarty = array_replace_recursive($this->smarty, $config["smarty"]);
86
            unset($config["smarty"]);
87
        }
88
        if (isset($config["router"])) {
89
            $this->router = array_replace_recursive($this->router, $config["router"]);
90
            unset($config['router']);
91
        }
92
        if (isset($config["mvc"])) {
93
            $this->mvc = array_replace_recursive($this->mvc, $config["mvc"]);
94
            unset($config["mvc"]);
@@ 92-95 (lines=4) @@
89
            $this->router = array_replace_recursive($this->router, $config["router"]);
90
            unset($config['router']);
91
        }
92
        if (isset($config["mvc"])) {
93
            $this->mvc = array_replace_recursive($this->mvc, $config["mvc"]);
94
            unset($config["mvc"]);
95
        }
96
        // Creates custom config
97
        if (count($config) > 0) {
98
            foreach ($config as $key => $value) {