Code Duplication    Length = 3-3 lines in 2 locations

src/system/UsersModule/Controller/UserAdministrationController.php 1 location

@@ 77-79 (lines=3) @@
74
        ]);
75
76
        $filter = [];
77
        if (!empty($letter) && 'all' != $letter) {
78
            $filter['uname'] = ['operator' => 'like', 'operand' => "$letter%"];
79
        }
80
        $limit = $this->getVar(UsersConstant::MODVAR_ITEMS_PER_PAGE, UsersConstant::DEFAULT_ITEMS_PER_PAGE);
81
        $users = $this->get('zikula_users_module.user_repository')->query(
82
            $filter,

src/system/ZAuthModule/Controller/UserAdministrationController.php 1 location

@@ 76-78 (lines=3) @@
73
        ]);
74
75
        $filter = [];
76
        if (!empty($letter) && 'all' != $letter) {
77
            $filter['uname'] = ['operator' => 'like', 'operand' => "$letter%"];
78
        }
79
        $limit = 25; // @todo make this configurable?
80
81
        $mappings = $this->get('zikula_zauth_module.authentication_mapping_repository')->query(