Skip to content
Snippets Groups Projects
Commit 015cd057 authored by catch's avatar catch
Browse files

Issue #3104538 by Hardik_Patel_12, Harshal Pradhan, ravi.shankar: Type hint...

Issue #3104538 by Hardik_Patel_12, Harshal Pradhan, ravi.shankar: Type hint "\Drupal\Core\Session\AccountInterface" missing
parent 0febf238
No related branches found
No related tags found
9 merge requests!1445Issue #2920039: Views' User Name exposed group filter validation,!1298Issue #3240993: Let layout builder render inline block translations,!774Issue #3174569: Example node template file name is incorrect,!497Issue #2463967: Use .user.ini file for PHP settings,!433Resolve #3163663 "Too many open files",!233Resolve #2693787 "Taxonomy term name",!133Resolve #2666286 "Clean up menuui",!112Resolve #3187004 "Drupaldatetime serialization issue",!53Resolve #3181870: Correct typo "the the" in "core/classList" deprecation message.
...@@ -1250,7 +1250,7 @@ function user_role_revoke_permissions($rid, array $permissions = []) { ...@@ -1250,7 +1250,7 @@ function user_role_revoke_permissions($rid, array $permissions = []) {
* *
* @see user_mail_tokens() * @see user_mail_tokens()
*/ */
function _user_mail_notify($op, $account, $langcode = NULL) { function _user_mail_notify($op, AccountInterface $account, $langcode = NULL) {
if (\Drupal::config('user.settings')->get('notify.' . $op)) { if (\Drupal::config('user.settings')->get('notify.' . $op)) {
$params['account'] = $account; $params['account'] = $account;
$langcode = $langcode ? $langcode : $account->getPreferredLangcode(); $langcode = $langcode ? $langcode : $account->getPreferredLangcode();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment