Issue #1969256 by zhuber, ronan.orb: Replace stdClass with object in param docs, as per standards
parent
8b3e463bc6
commit
f4c5be06a4
|
@ -415,7 +415,7 @@ function _drupal_rewrite_settings_dump($variable, $variable_name) {
|
|||
*
|
||||
* Dump the value of a value property and adds the comment if it exists.
|
||||
*
|
||||
* @param stdClass $variable
|
||||
* @param object $variable
|
||||
* A stdClass object with at least a value property.
|
||||
* @param string $prefix
|
||||
* A string to prepend to the variable's value.
|
||||
|
|
|
@ -94,7 +94,7 @@ class DatabaseBackend implements CacheBackendInterface {
|
|||
* 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.
|
||||
|
|
|
@ -70,7 +70,7 @@ class MemoryBackend implements CacheBackendInterface {
|
|||
* 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().
|
||||
*
|
||||
* @return mixed
|
||||
|
|
|
@ -815,7 +815,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).
|
||||
*
|
||||
|
|
|
@ -24,7 +24,7 @@ class Gettext {
|
|||
/**
|
||||
* 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.
|
||||
|
|
|
@ -295,7 +295,7 @@ function locale_translation_source_build($project, $langcode, $filename = NULL)
|
|||
/**
|
||||
* 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:
|
||||
|
|
|
@ -141,7 +141,7 @@ abstract class RowPluginBase extends PluginBase {
|
|||
* 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
|
||||
|
|
Loading…
Reference in New Issue