Skip to content

Commit ddf8046

Browse files
committed
Coding Standards: Improve formatting of phpdoc for params in wpdb class.
Props truptikanzariya, rollybueno. See #63168. Fixes #64160. git-svn-id: https://develop.svn.wordpress.org/trunk@61102 602fd350-edb4-49c9-b593-d223f7449a82
1 parent d1a4644 commit ddf8046

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/wp-includes/class-wpdb.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ public function __isset( $name ) {
826826
*
827827
* @since 3.5.0
828828
*
829-
* @param string $name The private member to unset
829+
* @param string $name The private member to unset.
830830
*/
831831
public function __unset( $name ) {
832832
unset( $this->$name );
@@ -2659,12 +2659,12 @@ public function _insert_replace_helper( $table, $data, $format = null, $type = '
26592659
* @see wpdb::$field_types
26602660
* @see wp_set_wpdb_vars()
26612661
*
2662-
* @param string $table Table name.
2663-
* @param array $data Data to update (in column => value pairs).
2662+
* @param string $table Table name.
2663+
* @param array $data Data to update (in column => value pairs).
26642664
* Both $data columns and $data values should be "raw" (neither should be SQL escaped).
26652665
* Sending a null value will cause the column to be set to NULL - the corresponding
26662666
* format is ignored in this case.
2667-
* @param array $where A named array of WHERE clauses (in column => value pairs).
2667+
* @param array $where A named array of WHERE clauses (in column => value pairs).
26682668
* Multiple clauses will be joined with ANDs.
26692669
* Both $where columns and $where values should be "raw".
26702670
* Sending a null value will create an IS NULL comparison - the corresponding
@@ -2910,7 +2910,7 @@ protected function process_field_formats( $data, $format ) {
29102910
*
29112911
* @since 4.2.0
29122912
*
2913-
* @param array $data {
2913+
* @param array $data {
29142914
* Array of values and formats keyed by their field names,
29152915
* as it comes from the wpdb::process_field_formats() method.
29162916
*
@@ -2961,7 +2961,7 @@ protected function process_field_charsets( $data, $table ) {
29612961
*
29622962
* @since 4.2.1
29632963
*
2964-
* @param array $data {
2964+
* @param array $data {
29652965
* Array of values, formats, and charsets keyed by their field names,
29662966
* as it comes from the wpdb::process_field_charsets() method.
29672967
*

0 commit comments

Comments
 (0)