1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-31 10:04:20 +03:00

allow psalm to update

phpdoc fix
This commit is contained in:
David Goodwin
2019-10-17 19:37:56 +01:00
parent 9526e68e3e
commit 174b874c56
2 changed files with 3 additions and 3 deletions

View File

@ -333,7 +333,7 @@ function check_email($email) {
* $sql = "SELECT * FROM foo WHERE x = '" . escape_string('fish') . "'";
* </code>
*
* @param int|string $string parameters to escape
* @param int|string $string_or_int parameters to escape
* @return string cleaned data, suitable for use within an SQL statement.
*/
function escape_string($string_or_int) {
@ -1780,7 +1780,7 @@ function db_delete($table, $where, $delete, $additionalwhere='') {
* @param string - table name
* @param array $values - key/value map of data to insert into the table.
* @param array $timestamp (optional) - array of fields to set to now() - default: array('created', 'modified')
* @param boolean $throw_errors
* @param boolean $throw_exceptions
* @return int - number of inserted rows
*/
function db_insert($table, array $values, $timestamp = array('created', 'modified'), $throw_exceptions = false) {