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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
public function inbound_call_callback(): array
|
||||
public static function inbound_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function end_call_callback(): array
|
||||
public static function end_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
|
|
@ -336,12 +336,12 @@ namespace adapters;
|
|||
return [];
|
||||
}
|
||||
|
||||
public function inbound_call_callback(): array
|
||||
public static function inbound_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function end_call_callback(): array
|
||||
public static function end_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
|
|
@ -508,12 +508,12 @@ class KannelAdapter implements AdapterInterface
|
|||
return $response;
|
||||
}
|
||||
|
||||
public function inbound_call_callback(): array
|
||||
public static function inbound_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function end_call_callback(): array
|
||||
public static function end_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
|
|
@ -486,12 +486,12 @@ class OctopushShortcodeAdapter implements AdapterInterface
|
|||
return $response;
|
||||
}
|
||||
|
||||
public function inbound_call_callback(): array
|
||||
public static function inbound_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function end_call_callback(): array
|
||||
public static function end_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
|
|
@ -479,12 +479,12 @@ class OctopushVirtualNumberAdapter implements AdapterInterface
|
|||
return $response;
|
||||
}
|
||||
|
||||
public function inbound_call_callback(): array
|
||||
public static function inbound_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function end_call_callback(): array
|
||||
public static function end_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
|
|
@ -499,12 +499,12 @@ class OdysseyMessagingAdapter implements AdapterInterface
|
|||
return $response;
|
||||
}
|
||||
|
||||
public function inbound_call_callback(): array
|
||||
public static function inbound_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function end_call_callback(): array
|
||||
public static function end_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
|
|
@ -406,12 +406,12 @@ namespace adapters;
|
|||
return [];
|
||||
}
|
||||
|
||||
public function inbound_call_callback(): array
|
||||
public static function inbound_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function end_call_callback(): array
|
||||
public static function end_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
|
|
@ -396,12 +396,12 @@ namespace adapters;
|
|||
return [];
|
||||
}
|
||||
|
||||
public function inbound_call_callback(): array
|
||||
public static function inbound_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function end_call_callback(): array
|
||||
public static function end_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
|
|
@ -351,7 +351,7 @@ namespace adapters;
|
|||
return [];
|
||||
}
|
||||
|
||||
public function inbound_call_callback(): array
|
||||
public static function inbound_call_callback(): array
|
||||
{
|
||||
$response = [
|
||||
'error' => false,
|
||||
|
@ -380,7 +380,7 @@ namespace adapters;
|
|||
return $response;
|
||||
}
|
||||
|
||||
public function end_call_callback(): array
|
||||
public static function end_call_callback(): array
|
||||
{
|
||||
$response = [
|
||||
'error' => false,
|
||||
|
|
|
@ -374,12 +374,12 @@ class TwilioVirtualNumberAdapter implements AdapterInterface
|
|||
return [];
|
||||
}
|
||||
|
||||
public function inbound_call_callback(): array
|
||||
public static function inbound_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function end_call_callback(): array
|
||||
public static function end_call_callback(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue