diff --git a/core/includes/install.inc b/core/includes/install.inc index 391750f..d118831 100644 --- a/core/includes/install.inc +++ b/core/includes/install.inc @@ -420,6 +420,7 @@ function _drupal_rewrite_settings_dump($variable, $variable_name) { * A string to prepend to the variable's value. * @param string $suffix * A string to append to the variable's value. + * * @return string * A string containing valid PHP code of the variable suitable for placing * into settings.php. diff --git a/core/lib/Drupal/Core/Cache/DatabaseBackend.php b/core/lib/Drupal/Core/Cache/DatabaseBackend.php index 39359c3..bf0650c 100644 --- a/core/lib/Drupal/Core/Cache/DatabaseBackend.php +++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php @@ -87,7 +87,7 @@ public function getMultiple(&$cids, $allow_invalid = FALSE) { * Checks that items are either permanent or did not expire, and unserializes * data as appropriate. * - * @param stdClass $cache + * @param object $cache * An item loaded from cache_get() or cache_get_multiple(). * @param bool $allow_invalid * If FALSE, the method returns FALSE if the cache item is not valid. diff --git a/core/lib/Drupal/Core/Cache/MemoryBackend.php b/core/lib/Drupal/Core/Cache/MemoryBackend.php index ac83a06..9471b10 100644 --- a/core/lib/Drupal/Core/Cache/MemoryBackend.php +++ b/core/lib/Drupal/Core/Cache/MemoryBackend.php @@ -70,9 +70,11 @@ public function getMultiple(&$cids, $allow_invalid = FALSE) { * Checks that items are either permanent or did not expire, and returns data * as appropriate. * - * @param stdClass $cache + * @param object $cache * An item loaded from cache_get() or cache_get_multiple(). * + * @param bool $allow_invalid + * * @return mixed * The item with data as appropriate or FALSE if there is no * valid item to load. diff --git a/core/modules/field/field.module b/core/modules/field/field.module index 8e16741..f20fdeb 100644 --- a/core/modules/field/field.module +++ b/core/modules/field/field.module @@ -1277,7 +1277,7 @@ function theme_field($variables) { /** * Assembles a partial entity structure with initial IDs. * - * @param stdClass $ids + * @param object $ids * An object with the properties entity_type (required), entity_id (required), * revision_id (optional) and bundle (optional). * diff --git a/core/modules/locale/lib/Drupal/locale/Gettext.php b/core/modules/locale/lib/Drupal/locale/Gettext.php index 40472f0..9c70bf7 100644 --- a/core/modules/locale/lib/Drupal/locale/Gettext.php +++ b/core/modules/locale/lib/Drupal/locale/Gettext.php @@ -51,7 +51,7 @@ static function filesToArray($langcode, array $files) { /** * Reads the given PO files into the database. * - * @param stdClass $file + * @param object $file * File object with an URI property pointing at the file's path. * - "langcode": The language the strings will be added to. * - "uri": File URI. @@ -71,6 +71,8 @@ static function filesToArray($langcode, array $files) { * @return array * Report array as defined in Drupal\locale\PoDatabaseWriter. * + * @throws Exception + * * @see Drupal\locale\PoDatabaseWriter */ static function fileToDatabase($file, $options) { diff --git a/core/modules/locale/locale.compare.inc b/core/modules/locale/locale.compare.inc index 9eba52e..1ee5a73 100644 --- a/core/modules/locale/locale.compare.inc +++ b/core/modules/locale/locale.compare.inc @@ -214,7 +214,7 @@ function locale_translation_default_translation_server() { /** * Build path to translation source, out of a server path replacement pattern. * - * @param stdClass $project + * @param object $project * Project object containing data to be inserted in the template. * @param string $template * String containing placeholders. Available placeholders: diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/row/RowPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/row/RowPluginBase.php index e2ac129..16d7bed 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/row/RowPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/row/RowPluginBase.php @@ -141,7 +141,7 @@ function pre_render($result) { } * Render a row object. This usually passes through to a theme template * of some form, but not always. * - * @param stdClass $row + * @param object $row * A single row of the query result, so an element of $view->result. * * @return string