Remove PHP % incompatible code
This commit is contained in:
parent
8fb29b93fd
commit
7f93f0179b
|
@ -248,7 +248,7 @@ class SCCPGeneric_Response extends Response
|
|||
}
|
||||
}
|
||||
|
||||
protected function ConvertTableData(string $_tablename, array $_fkey, array $_fields)
|
||||
protected function ConvertTableData( $_tablename, array $_fkey, array $_fields)
|
||||
{
|
||||
$result = array();
|
||||
$_rawtable = $this->Table2Array($_tablename);
|
||||
|
@ -309,7 +309,7 @@ class SCCPGeneric_Response extends Response
|
|||
return $result;
|
||||
}
|
||||
|
||||
public function Table2Array( string $tablename )
|
||||
public function Table2Array( $tablename )
|
||||
{
|
||||
$result =array();
|
||||
if (empty($tablename) || !is_array($this->_tables)) {
|
||||
|
|
|
@ -414,7 +414,7 @@ class extconfigs
|
|||
return $base_config;
|
||||
}
|
||||
// Type declaration in below function is incompatible with PHP 5
|
||||
public function validate_RealTime( string $connector )
|
||||
public function validate_RealTime( $connector )
|
||||
{
|
||||
// This method only checks that asterisk is correctly configured for Realtime
|
||||
// It is preventative and does not change anything for Sccp_manager
|
||||
|
|
Loading…
Reference in a new issue