Minor: PHPDoc improvements to database.lib.php

pull/5206/head
Yannick Warnier 2 years ago
parent 21a7988baf
commit 601151c1da
  1. 2
      public/main/inc/lib/database.lib.php

@ -262,6 +262,7 @@ class Database
}
/**
* Wrapper to executes a query on the defined database handler.
* @throws Exception
*/
public static function query(string $query): ?\Doctrine\DBAL\Result
@ -346,6 +347,7 @@ class Database
}
/**
* Wrapper executing an SQL update query based on the given attributes array
* @param string $tableName use Database::get_main_table
* @param array $attributes Values to updates
* Example: $params['name'] = 'Julio'; $params['lastname'] = 'Montoya';

Loading…
Cancel
Save