diff --git a/core/modules/node/src/NodeGrantDatabaseStorage.php b/core/modules/node/src/NodeGrantDatabaseStorage.php index f7e0c61..466f2c4 100644 --- a/core/modules/node/src/NodeGrantDatabaseStorage.php +++ b/core/modules/node/src/NodeGrantDatabaseStorage.php @@ -106,7 +106,7 @@ public function access(NodeInterface $node, $operation, $langcode, AccountInterf if (count($grants) > 0) { $query->condition($grants); } - $access_result = $query->execute()->fetchField() ? AccessResult::allowed() : AccessResult::forbidden(); + $access_result = $query->execute()->fetchField() ? AccessResult::allowed() : AccessResult::forbidden(); // Only the 'view' node grant can currently be cached; the others currently // don't have any cacheability metadata. Hopefully, we can add that in the diff --git a/core/modules/node/src/NodeGrantDatabaseStorageInterface.php b/core/modules/node/src/NodeGrantDatabaseStorageInterface.php index 8c55e95..2acd5d7 100644 --- a/core/modules/node/src/NodeGrantDatabaseStorageInterface.php +++ b/core/modules/node/src/NodeGrantDatabaseStorageInterface.php @@ -25,8 +25,8 @@ * * @return int. * 1 if the user has the "view all" grant, 0 if not. - * - * @see hook_node_grants() + * + * @see hook_node_grants() */ public function checkAll(AccountInterface $account);