diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-05-08 15:51:01 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-05-08 15:51:01 -0400 |
commit | a22d7770d49716224b3c0ff43bf210b202d797dd (patch) | |
tree | b6debc41483c58c646a83eeec85db26bccd89ad8 /includes | |
parent | c09288a94eb89cf1015a6b6b8b218a14d9b686f7 (diff) | |
download | brdo-a22d7770d49716224b3c0ff43bf210b202d797dd.tar.gz brdo-a22d7770d49716224b3c0ff43bf210b202d797dd.tar.bz2 |
- Patch #1024684 by linclark: omit & in @param statements (for consistency).
Diffstat (limited to 'includes')
-rw-r--r-- | includes/authorize.inc | 2 | ||||
-rw-r--r-- | includes/common.inc | 2 | ||||
-rw-r--r-- | includes/file.inc | 2 | ||||
-rw-r--r-- | includes/form.inc | 8 | ||||
-rw-r--r-- | includes/graph.inc | 6 | ||||
-rw-r--r-- | includes/module.inc | 6 | ||||
-rw-r--r-- | includes/stream_wrappers.inc | 2 | ||||
-rw-r--r-- | includes/unicode.inc | 2 |
8 files changed, 15 insertions, 15 deletions
diff --git a/includes/authorize.inc b/includes/authorize.inc index 979a980e7..3617d7d03 100644 --- a/includes/authorize.inc +++ b/includes/authorize.inc @@ -159,7 +159,7 @@ function _authorize_filetransfer_connection_settings($backend) { * Therefore, to properly add defaults, we need to walk through all the * children form elements and process those defaults recursively. * - * @param &$element + * @param $element * Reference to the Form API form element we're operating on. * @param $key * The key for our current form element, if any. diff --git a/includes/common.inc b/includes/common.inc index ca1976a32..6c25676e1 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -6310,7 +6310,7 @@ function drupal_array_set_nested_value(array &$array, array $parents, $value, $f * The array from which to get the value. * @param $parents * An array of parent keys of the value, starting with the outermost key. - * @param &$key_exists + * @param $key_exists * (optional) If given, an already defined variable that is altered by * reference. * diff --git a/includes/file.inc b/includes/file.inc index 26a6c41ab..6dc7f88b3 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -422,7 +422,7 @@ function file_create_url($uri) { * Directories need to have execute permissions to be considered a directory by * FTP servers, etc. * - * @param &$directory + * @param $directory * A string reference containing the name of a directory path or URI. A * trailing slash will be trimmed from a path. * @param $options diff --git a/includes/form.inc b/includes/form.inc index 3f83b8e3d..a337b03d1 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -201,7 +201,7 @@ function drupal_get_form($form_id) { * can implement hook_forms(), which maps different $form_id values to the * proper form constructor function. Examples may be found in node_forms(), * search_forms(), and user_forms(). - * @param &$form_state + * @param $form_state * An array which stores information about the form. This is passed as a * reference so that the caller can use it to examine what in the form changed * when the form submission process is complete. Furthermore, it may be used @@ -2061,7 +2061,7 @@ function _form_button_was_clicked($element, &$form_state) { * - form_build_id * - op * - * @param &$form_state + * @param $form_state * A keyed array containing the current state of the form, including * submitted form values; altered by reference. */ @@ -3377,7 +3377,7 @@ function form_validate_machine_name(&$element, &$form_state) { * Adds fieldsets to the specified group or adds group members to this * fieldset. * - * @param &$element + * @param $element * An associative array containing the properties and children of the * fieldset. Note that $element must be taken by reference here, so processed * child elements are taken over into $form_state. @@ -3955,7 +3955,7 @@ function theme_form_element_label($variables) { * * Adds 'required' and 'error' classes as needed. * - * @param &$element + * @param $element * The form element. * @param $name * Array of new class names to be added. diff --git a/includes/graph.inc b/includes/graph.inc index 8b89b7306..416fad6df 100644 --- a/includes/graph.inc +++ b/includes/graph.inc @@ -74,15 +74,15 @@ function drupal_depth_first_search(&$graph) { /** * Helper function to perform a depth first sort. * - * @param &$graph + * @param $graph * A three dimensional associated graph array. - * @param &$state + * @param $state * An associative array. The key 'last_visit_order' stores a list of the * vertices visited. The key components stores list of vertices belonging * to the same the component. * @param $start * An arbitrary vertex where we started traversing the graph. - * @param &$component + * @param $component * The component of the last vertex. * * @see drupal_depth_first_search() diff --git a/includes/module.inc b/includes/module.inc index 08749f33c..779b66826 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -890,14 +890,14 @@ function drupal_required_modules() { * values in $type. For example, when Form API is using drupal_alter() to * execute both hook_form_alter() and hook_form_FORM_ID_alter() * implementations, it passes array('form', 'form_' . $form_id) for $type. - * @param &$data + * @param $data * The variable that will be passed to hook_TYPE_alter() implementations to be * altered. The type of this variable depends on the value of the $type * argument. For example, when altering a 'form', $data will be a structured * array. When altering a 'profile', $data will be an object. - * @param &$context1 + * @param $context1 * (optional) An additional variable that is passed by reference. - * @param &$context2 + * @param $context2 * (optional) An additional variable that is passed by reference. If more * context needs to be provided to implementations, then this should be an * associative array as described above. diff --git a/includes/stream_wrappers.inc b/includes/stream_wrappers.inc index df380a8ea..7df1f9dc6 100644 --- a/includes/stream_wrappers.inc +++ b/includes/stream_wrappers.inc @@ -383,7 +383,7 @@ abstract class DrupalLocalStreamWrapper implements DrupalStreamWrapperInterface * The file mode ("r", "wb" etc.). * @param $options * A bit mask of STREAM_USE_PATH and STREAM_REPORT_ERRORS. - * @param &$opened_path + * @param $opened_path * A string containing the path actually opened. * * @return diff --git a/includes/unicode.inc b/includes/unicode.inc index 81ba00a13..9dde2ca70 100644 --- a/includes/unicode.inc +++ b/includes/unicode.inc @@ -169,7 +169,7 @@ function unicode_requirements() { * This is also where unsupported encodings will be converted. Callers should * take this into account: $data might have been changed after the call. * - * @param &$data + * @param $data * The XML data which will be parsed later. * * @return |