You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* A convenient SELECT COLUMN function to get a single column value from one row
*
* @param string $tableName The name of the database table to work with.
* @param string $column The desired column
* @param int $limit Limit of rows to select. Use null for unlimited..1 by default
*
* @return mixed Contains the value of a returned column / array of values
* @throws Exception
*/
public function getValue($tableName, $column, $limit = 1)
But $limit can be null to get an array for a single column, so this should change to :
* @param int|null $limit Limit of rows to select. Use null for unlimited..1 by default
The text was updated successfully, but these errors were encountered:
FixesThingEngineer#1016 by setting the defaults to an empty string; This matches nothing without notices about nulls.
FixesThingEngineer#1013 by defaulting to false instead of not initializing.
FixesThingEngineer#1015 by adding the missing null in the docstring. Re-aligned the other lines and fixed a typo.
FixesThingEngineer#1001 by special handling of stdClass objects
Trace Defaults, Bug Fixes (#1001, #1013, #1015, #1016, #1018)
Trace Defaults: (Commits: 295c4c6, 057d820)
Establishes default settings for tracing mechanisms within the codebase.
Bug Fixes:
Fixes an error related to calling the end method on an stdClass object (Commit: d181606 - fixes#1001).
Resolves issues reported in tickets #1013, #1015, and #1016.
Additional Fix (stormwalkerec/php-mysqli-database-class): (Commit: a8de11f - fixes#1018)
Merges a separate fix from stormwalkerec/php-mysqli-database-class that addresses another reported issue (#1018).
Current phpDoc for getValue is this :
But $limit can be null to get an array for a single column, so this should change to :
* @param int|null $limit Limit of rows to select. Use null for unlimited..1 by default
The text was updated successfully, but these errors were encountered: