Fix static function on inbound callback and endcallback for adapters
This commit is contained in:
parent
3b2dddbea3
commit
5d1015e190
|
@ -207,7 +207,7 @@ interface AdapterInterface
|
||||||
* ]
|
* ]
|
||||||
* ]
|
* ]
|
||||||
*/
|
*/
|
||||||
public function inbound_call_callback(): array;
|
public static function inbound_call_callback(): array;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method called on reception of a end call notification.
|
* Method called on reception of a end call notification.
|
||||||
|
@ -221,5 +221,5 @@ interface AdapterInterface
|
||||||
* ]
|
* ]
|
||||||
* ]
|
* ]
|
||||||
*/
|
*/
|
||||||
public function end_call_callback(): array;
|
public static function end_call_callback(): array;
|
||||||
}
|
}
|
||||||
|
|
|
@ -259,12 +259,12 @@ namespace adapters;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inbound_call_callback(): array
|
public static function inbound_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function end_call_callback(): array
|
public static function end_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
|
@ -336,12 +336,12 @@ namespace adapters;
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inbound_call_callback(): array
|
public static function inbound_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function end_call_callback(): array
|
public static function end_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
|
@ -508,12 +508,12 @@ class KannelAdapter implements AdapterInterface
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inbound_call_callback(): array
|
public static function inbound_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function end_call_callback(): array
|
public static function end_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
|
@ -486,12 +486,12 @@ class OctopushShortcodeAdapter implements AdapterInterface
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inbound_call_callback(): array
|
public static function inbound_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function end_call_callback(): array
|
public static function end_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
|
@ -479,12 +479,12 @@ class OctopushVirtualNumberAdapter implements AdapterInterface
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inbound_call_callback(): array
|
public static function inbound_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function end_call_callback(): array
|
public static function end_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
|
@ -499,12 +499,12 @@ class OdysseyMessagingAdapter implements AdapterInterface
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inbound_call_callback(): array
|
public static function inbound_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function end_call_callback(): array
|
public static function end_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
|
@ -406,12 +406,12 @@ namespace adapters;
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inbound_call_callback(): array
|
public static function inbound_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function end_call_callback(): array
|
public static function end_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
|
@ -396,12 +396,12 @@ namespace adapters;
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inbound_call_callback(): array
|
public static function inbound_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function end_call_callback(): array
|
public static function end_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
|
@ -351,7 +351,7 @@ namespace adapters;
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inbound_call_callback(): array
|
public static function inbound_call_callback(): array
|
||||||
{
|
{
|
||||||
$response = [
|
$response = [
|
||||||
'error' => false,
|
'error' => false,
|
||||||
|
@ -380,7 +380,7 @@ namespace adapters;
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function end_call_callback(): array
|
public static function end_call_callback(): array
|
||||||
{
|
{
|
||||||
$response = [
|
$response = [
|
||||||
'error' => false,
|
'error' => false,
|
||||||
|
|
|
@ -374,12 +374,12 @@ class TwilioVirtualNumberAdapter implements AdapterInterface
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function inbound_call_callback(): array
|
public static function inbound_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function end_call_callback(): array
|
public static function end_call_callback(): array
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue