Test Setup Failed
Pull Request — master (#4194)
by Craig
05:31
created
src/system/ZAuthModule/Controller/UserAdministrationController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
             $filter['uname'] = ['operator' => 'like', 'operand' => "${letter}%"];
100 100
         }
101 101
         $itemsPerPage = $this->getVar(ZAuthConstant::MODVAR_ITEMS_PER_PAGE, ZAuthConstant::DEFAULT_ITEMS_PER_PAGE);
102
-        $paginator = $authenticationMappingRepository->query($filter, [$sort => $sortdir],'and', $page, $itemsPerPage);
102
+        $paginator = $authenticationMappingRepository->query($filter, [$sort => $sortdir], 'and', $page, $itemsPerPage);
103 103
         $paginator->setRoute('zikulazauthmodule_useradministration_list');
104 104
         $routeParameters = [
105 105
             'sort' => $sort,
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
         $form->handleRequest($request);
439 439
         if ($form->isSubmitted() && $form->isValid()) {
440 440
             if ($form->get('toggle')->isClicked()) {
441
-                if ($user->getAttributes()->containsKey(ZAuthConstant::REQUIRE_PASSWORD_CHANGE_KEY) && (bool)$user->getAttributes()->get(ZAuthConstant::REQUIRE_PASSWORD_CHANGE_KEY)) {
441
+                if ($user->getAttributes()->containsKey(ZAuthConstant::REQUIRE_PASSWORD_CHANGE_KEY) && (bool) $user->getAttributes()->get(ZAuthConstant::REQUIRE_PASSWORD_CHANGE_KEY)) {
442 442
                     $user->getAttributes()->remove(ZAuthConstant::REQUIRE_PASSWORD_CHANGE_KEY);
443 443
                     $this->addFlash('success', $this->trans('Done! A password change will no longer be required for %userName%.', ['%userName%' => $user->getUname()]));
444 444
                 } else {
Please login to merge, or discard this patch.