Skip to content

Commit

Permalink
Improved PHPDoc for JDatabaseDriver::updateObject (#25134)
Browse files Browse the repository at this point in the history
The $key parameter can be either an array or a string but from PHPDoc it was only an array
  • Loading branch information
Federico Liva authored and wilsonge committed Jun 23, 2019
1 parent eb3c321 commit e48e9f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/joomla/database/driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -2203,10 +2203,10 @@ public function truncateTable($table)
/**
* Updates a row in a table based on an object's properties.
*
* @param string $table The name of the database table to update.
* @param object &$object A reference to an object whose public properties match the table fields.
* @param array $key The name of the primary key.
* @param boolean $nulls True to update null fields or false to ignore them.
* @param string $table The name of the database table to update.
* @param object &$object A reference to an object whose public properties match the table fields.
* @param array|string $key The name of the primary key.
* @param boolean $nulls True to update null fields or false to ignore them.
*
* @return boolean True on success.
*
Expand Down

0 comments on commit e48e9f1

Please sign in to comment.