Cast field data when ATTR_EMULATE_PREPARES is enabled
This commit is contained in:
@@ -385,7 +385,7 @@ function message_content(App $a)
|
||||
* @param int $limit
|
||||
* @return array
|
||||
*/
|
||||
function get_messages($uid, $start, $limit)
|
||||
function get_messages(int $uid, int $start, int $limit)
|
||||
{
|
||||
return DBA::toArray(DBA::p('SELECT
|
||||
m.`id`,
|
||||
|
||||
Reference in New Issue
Block a user