Correct type declarations
type declarations must be lowercase or will be treated as local instance names
This commit is contained in:
parent
0f9ebb8cd1
commit
9ae3638d04
|
@ -244,7 +244,7 @@ class SCCPGeneric_Response extends Response
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function ConvertTableData(String $_tablename, Array $_fkey, Array $_fields)
|
protected function ConvertTableData(string $_tablename, array $_fkey, array $_fields)
|
||||||
{
|
{
|
||||||
$result = array();
|
$result = array();
|
||||||
$_rawtable = $this->Table2Array($_tablename);
|
$_rawtable = $this->Table2Array($_tablename);
|
||||||
|
@ -275,7 +275,7 @@ class SCCPGeneric_Response extends Response
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function ConvertEventData(Array $_fkey, Array $_fields)
|
protected function ConvertEventData(array $_fkey, array $_fields)
|
||||||
{
|
{
|
||||||
$result = array();
|
$result = array();
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ class SCCPGeneric_Response extends Response
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function Table2Array( String $tablename )
|
public function Table2Array( string $tablename )
|
||||||
{
|
{
|
||||||
$result =array();
|
$result =array();
|
||||||
if (empty($tablename) || !is_array($this->_tables)) {
|
if (empty($tablename) || !is_array($this->_tables)) {
|
||||||
|
|
|
@ -415,7 +415,7 @@ class extconfigs
|
||||||
return $base_config;
|
return $base_config;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function validate_RealTime( String $connector )
|
public function validate_RealTime( string $connector )
|
||||||
{
|
{
|
||||||
// This method only checks that asterisk is correctly configured for Realtime
|
// This method only checks that asterisk is correctly configured for Realtime
|
||||||
// It is preventative and does not change anything for Sccp_manager
|
// It is preventative and does not change anything for Sccp_manager
|
||||||
|
|
Loading…
Reference in a new issue