See for example getEntityFlaggings():

    if (!is_null($account)) {
      if (!$flag->isGlobal()) {
        $query->condition('uid', $account->id());

There is no point in giving an $account for a global flag. The documentation should clearly state this for this method and others that do the same thing.

Comments

joachim created an issue.

joachim’s picture

Same for loadIsFlagged() and loadIsFlaggedMultiple().