Correct type declarations

type declarations must be lowercase or will be treated as local instance names
This commit is contained in:
steve-lad 2021-03-13 11:35:35 +01:00 committed by Diederik de Groot
parent e94fa4e8d1
commit 40e9b01510
No known key found for this signature in database
GPG key ID: AFA728250A1BECD6
2 changed files with 4 additions and 4 deletions

View file

@ -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();
$_rawtable = $this->Table2Array($_tablename);
@ -275,7 +275,7 @@ class SCCPGeneric_Response extends Response
return $result;
}
protected function ConvertEventData(Array $_fkey, Array $_fields)
protected function ConvertEventData(array $_fkey, array $_fields)
{
$result = array();
@ -305,7 +305,7 @@ class SCCPGeneric_Response extends Response
return $result;
}
public function Table2Array( String $tablename )
public function Table2Array( string $tablename )
{
$result =array();
if (empty($tablename) || !is_array($this->_tables)) {

View file

@ -414,7 +414,7 @@ class extconfigs
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
// It is preventative and does not change anything for Sccp_manager