Skip to content

Commit 9b9d427

Browse files
authored
fix: Update hint vars in userguide (#9489)
1 parent 249b88a commit 9b9d427

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

user_guide_src/source/database/results.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ Class Reference
287287

288288
Usage: see `Getting an Array of stdClass`_.
289289

290-
.. php:method:: getCustomResultObject($class_name)
290+
.. php:method:: getCustomResultObject($className)
291291
292-
:param string $class_name: Class name for the resulting rows
292+
:param string $className: Class name for the resulting rows
293293
:returns: Array containing the fetched rows
294294
:rtype: array
295295

user_guide_src/source/dbmgmt/forge.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -493,10 +493,10 @@ Class Reference
493493

494494
Creates a new table. Usage: See `Creating a Table`_.
495495

496-
.. php:method:: dropColumn($table, $column_name)
496+
.. php:method:: dropColumn($table, $columnNames)
497497
498498
:param string $table: Table name
499-
:param mixed $column_names: Comma-delimited string or an array of column names
499+
:param mixed $columnNames: Comma-delimited string or an array of column names
500500
:returns: true on success, false on failure
501501
:rtype: bool
502502

@@ -563,10 +563,10 @@ Class Reference
563563

564564
Modifies a table column. Usage: See `Modifying a Field in a Table`_.
565565

566-
.. php:method:: renameTable($table_name, $new_table_name)
566+
.. php:method:: renameTable($tableName, $newTableName)
567567
568-
:param string $table: Current of the table
569-
:param string $new_table_name: New name of the table
568+
:param string $tableName: Current of the table
569+
:param string $newTableName: New name of the table
570570
:returns: Query object on success, false on failure
571571
:rtype: mixed
572572

user_guide_src/source/general/common_functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ Miscellaneous Functions
293293
.. note:: This function is also used when you set
294294
``Config\App:$forceGlobalSecureRequests`` to true.
295295

296-
.. php:function:: function_usable($function_name)
296+
.. php:function:: function_usable($functionName)
297297
298-
:param string $function_name: Function to check for
298+
:param string $functionName: Function to check for
299299
:returns: true if the function exists and is safe to call, false otherwise.
300300
:rtype: bool
301301

user_guide_src/source/libraries/typography.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ Available static functions
2424

2525
The following functions are available:
2626

27-
.. php:function:: autoTypography($str[, $reduce_linebreaks = false])
27+
.. php:function:: autoTypography($str[, $reduceLinebreaks = false])
2828
2929
:param string $str: Input string
30-
:param bool $reduce_linebreaks: Whether to reduce multiple instances of double newlines to two
30+
:param bool $reduceLinebreaks: Whether to reduce multiple instances of double newlines to two
3131
:returns: HTML-formatted typography-safe string
3232
:rtype: string
3333

0 commit comments

Comments
 (0)