e107_plugins/pm/pm_class.php
Return type of __construct()
is undeclared type \none
Open
Open
public function __construct($prefs=null)
- Exclude checks
Returning type true
but pm_send_notify()
is declared to return \none
Open
Open
return true;
- Exclude checks
Argument 1 (classes)
is int
but \user_class::getUsersInClass()
takes string
defined at /code/e107_handlers/userclass_class.php:1192
Open
Open
return e107::getUserClass()->getUsersInClass($class, 'user_name, user_email, user_class');
- Exclude checks
Argument 2 (newvalue)
is 600
but \ini_set()
takes string
Open
Open
@ini_set("max_execution_time", 10 * 60);
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$ret['messages'] = $sql->db_getList();
- Exclude checks
Return type of pm_mark_read()
is undeclared type \none
Open
Open
function pm_mark_read($pm_id, $pm_info)
- Exclude checks
Method \private_message::pm_mark_read
is declared to return \none
but has no return value Open
Open
function pm_mark_read($pm_id, $pm_info)
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param string var - name to match':
after string,
did not see an element name (will guess based on comment order) Open
Open
* @param string var - name to match
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$ret['messages'] = $sql->db_getList();
- Exclude checks
Returning type false
but pm_send_notify()
is declared to return \none
Open
Open
return false;
- Exclude checks
Method \private_message::__construct
is declared to return \none
but has no return value Open
Open
public function __construct($prefs=null)
- Exclude checks
Reference to undeclared property \e_db->total_results
Open
Open
$total_messages = $sql->total_results; // Total number of messages
- Exclude checks
When fetching an array index from a value of type array<int>,</int>
found an array index of type string,
but expected the index to be of type int
Open
Open
$fname = $attachments[$filenum];
- Exclude checks
Argument 1 (user)
is string
but \e_file::getUserDir()
takes int
defined at /code/e107_handlers/file_class.php:1261
Open
Open
$pathList[] = e107::getFile()->getUserDir($fromid, false, 'attachments'); // new media path.
- Exclude checks
Returning type false
but send_file()
is declared to return \none
Open
Open
return false;
- Exclude checks
Returning type false
but send_file()
is declared to return \none
Open
Open
return false;
- Exclude checks
Argument 3 (row)
is null
but \e107::url()
takes array
defined at /code/e107_handlers/e107_class.php:4225
Open
Open
$url = e107::url('pm','index', null, array('mode'=>'full')).'?show.'.$pmid;
- Exclude checks
Argument 3 (row)
is null
but \e107::url()
takes array
defined at /code/e107_handlers/e107_class.php:4225
Open
Open
$pmlink = e107::url('pm','index', null, array('mode'=>'full')).'?show.'.$pmInfo['pm_id'];
- Exclude checks
Return type of pm_send_notify()
is undeclared type \none
Open
Open
function pm_send_notify($uid, $pmInfo, $pmid, $attach_count = 0)
- Exclude checks
Returning type false
but send_file()
is declared to return \none
Open
Open
return false;
- Exclude checks
Call to undeclared method \e_db::escape
Open
Open
$where = "user_name LIKE '".$sql->escape($var, FALSE)."'";
- Exclude checks
Return type of send_file()
is undeclared type \none
Open
Open
function send_file($pmid, $filenum)
- Exclude checks