core/lib/Drupal/Core/Access/AccessResult.php | 2 +- core/lib/Drupal/Core/Entity/EntityTypeInterface.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Access/AccessResult.php b/core/lib/Drupal/Core/Access/AccessResult.php index 7e603fe..581343e 100644 --- a/core/lib/Drupal/Core/Access/AccessResult.php +++ b/core/lib/Drupal/Core/Access/AccessResult.php @@ -390,7 +390,7 @@ public function orIf(AccessResultInterface $other) { // 2. This access result is not cacheable and $other's access result is the // same. i.e. attempt to return a cacheable access result. // 3. Neither access result is 'forbidden' and both are cacheable: inherit - // inherit the other's cacheability metadata because it may turn into a + // the other's cacheability metadata because it may turn into a // 'forbidden' for another value of the cache contexts in the // cacheability metadata. In other words: this is necessary to respect // the contagious nature of the 'forbidden' access result. diff --git a/core/lib/Drupal/Core/Entity/EntityTypeInterface.php b/core/lib/Drupal/Core/Entity/EntityTypeInterface.php index c33c6ec..7a6c4f1 100644 --- a/core/lib/Drupal/Core/Entity/EntityTypeInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityTypeInterface.php @@ -660,7 +660,7 @@ public function setUriCallback($callback); * * Enables code listing entities of this type to ensure that rendered listings * are varied as necessary, typically to ensure users of role A see other - * entities listed as users of role B. + * entities listed than users of role B. * * @return string[] */