Commit db076b4f authored by solideogloria's avatar solideogloria Committed by Andrey Postnikov
Browse files

Issue #3307174 by solideogloria: hook_masquerade_access() documents wrong return type

parent 824b427f
Loading
Loading
Loading
Loading
+1 −1
Changes for masquerade.api.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ use Drupal\user\UserInterface;
 * @param \Drupal\user\UserInterface $target_account
 *   The target user account to check for masquerade access.
 *
 * @return bool
 * @return bool|null
 *   Either a Boolean or NULL:
 *   - FALSE to explicitly deny access. If a module denies access, no other
 *     module is able to grant access and access is denied.