Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/DatabaseDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -1228,6 +1228,7 @@ public function loadColumn($offset = 0)
* Method to get the first row of the result set from the database query as an object.
*
* @param string $class The class name to use for the returned row object.
* The $class parameter is deprecated in 4.x and will be removed in 6.0 without a replacement.
*
* @return mixed The return value or null if the query failed.
*
Expand Down Expand Up @@ -1275,6 +1276,7 @@ public function loadObject($class = \stdClass::class)
*
* @param string $key The name of a field on which to key the result array.
* @param string $class The class name to use for the returned row objects.
* The $class parameter is deprecated in 4.x and will be removed in 6.0 without a replacement.
*
* @return mixed The return value or null if the query failed.
*
Expand Down
4 changes: 3 additions & 1 deletion src/DatabaseIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,11 @@ class DatabaseIterator implements \Countable, \Iterator
* @param StatementInterface $statement The statement holding the result set to iterate.
* @param string $column An option column to use as the iterator key.
* @param string $class The class of object that is returned.
* The $class parameter is deprecated in 4.x and will be removed in 6.0
* without a replacement.
*
* @since 1.0
* @throws \InvalidArgumentException
*@since 1.0
Comment thread
rdeutz marked this conversation as resolved.
Outdated
*/
public function __construct(StatementInterface $statement, $column = null, $class = \stdClass::class)
{
Expand Down