diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index f7ab2d7e67a14163fcf325574314901cf802c70f..9daa71a5a5b58f840231adc0afecc6d749c61c66 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -713,7 +713,7 @@ function drupal_settings_initialize() { * * This function plays a key role in allowing Drupal's resources (modules * and themes) to be located in different places depending on a site's - * configuration. For example, a module 'foo' may legally be be located + * configuration. For example, a module 'foo' may legally be located * in any of these three places: * * core/modules/foo/foo.module @@ -724,7 +724,7 @@ function drupal_settings_initialize() { * the above, depending on where the module is located. * * @param $type - * The type of the item (i.e. theme, theme_engine, module, profile). + * The type of the item (theme, theme_engine, module, profile). * @param $name * The name of the item for which the filename is requested. * @param $filename diff --git a/core/lib/Drupal/Core/Cache/CacheCollector.php b/core/lib/Drupal/Core/Cache/CacheCollector.php index afc69229b2b86c4f092d791060942f59a131a5cb..21d54878ff334edd78a1852955d30d3c8c1c361f 100644 --- a/core/lib/Drupal/Core/Cache/CacheCollector.php +++ b/core/lib/Drupal/Core/Cache/CacheCollector.php @@ -176,11 +176,11 @@ public function delete($key) { * Flags an offset value to be written to the persistent cache. * * @param string $key - * The key that was request. + * The key that was requested. * @param bool $persist * (optional) Whether the offset should be persisted or not, defaults to * TRUE. When called with $persist = FALSE the offset will be unflagged so - * that it will not written at the end of the request. + * that it will not be written at the end of the request. */ protected function persist($key, $persist = TRUE) { $this->keysToPersist[$key] = $persist; diff --git a/core/lib/Drupal/Core/Utility/CacheArray.php b/core/lib/Drupal/Core/Utility/CacheArray.php index 1b8464a438883ecc296041a8a526ee08245ffc67..974875301e45d11f1c4c898338faf2223c41d076 100644 --- a/core/lib/Drupal/Core/Utility/CacheArray.php +++ b/core/lib/Drupal/Core/Utility/CacheArray.php @@ -165,11 +165,11 @@ public function offsetUnset($offset) { * without necessarily writing back to the persistent cache at the end. * * @param $offset - * The array offset that was request. + * The array offset that was requested. * @param $persist * Optional boolean to specify whether the offset should be persisted or * not, defaults to TRUE. When called with $persist = FALSE the offset will - * be unflagged so that it will not written at the end of the request. + * be unflagged so that it will not be written at the end of the request. */ protected function persist($offset, $persist = TRUE) { $this->keysToPersist[$offset] = $persist;