Strict error in JDatabaseDriverPostgresql #1779

Closed
wants to merge 1 commit into
from
@@ -1306,7 +1306,7 @@ public function unlockTables()
* 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 object $object An object whose public properties match the table fields.
* @param string $key The name of the primary key.
* @param boolean $nulls True to update null fields or false to ignore them.
*
@@ -1315,7 +1315,7 @@ public function unlockTables()
* @since 11.1
* @throws RuntimeException
*/
- public function updateObject($table, &$object, $key, $nulls = false)
+ public function updateObject($table, $object, $key, $nulls = false)
{
$columns = $this->getTableColumns($table);
$fields = array();