Code Duplication    Length = 3-3 lines in 2 locations

framework/Koch/Module/AbstractController.php 2 locations

@@ 183-185 (lines=3) @@
180
                $entity = $module_models_path . 'Entities/' . ucfirst($modulename) . '.php';
181
            }
182
183
            if (is_file($entity) && class_exists('Entity\\' . ucfirst($modulename), false)) {
184
                include $entity;
185
            }
186
187
            $repos = $module_models_path . 'Repositories/' . ucfirst($modulename) . 'Repository.php';
188
@@ 189-191 (lines=3) @@
186
187
            $repos = $module_models_path . 'Repositories/' . ucfirst($modulename) . 'Repository.php';
188
189
            if (is_file($repos) && class_exists('Entity\\' . ucfirst($modulename), false)) {
190
                include $repos;
191
            }
192
        }
193
        // else Module has no Model Data
194
    }