fix style

This commit is contained in:
osaajani 2021-02-23 00:31:54 +01:00
parent 296fbd61e8
commit 3b662c1153
24 changed files with 57 additions and 58 deletions

View file

@ -39,8 +39,8 @@ namespace adapters;
public static function meta_uid(): string;
/**
* Should this adapter be hidden in user interface for phone creation and
* available to creation through API only
* Should this adapter be hidden in user interface for phone creation and
* available to creation through API only.
*/
public static function meta_hidden(): bool;

View file

@ -56,10 +56,10 @@ namespace adapters;
{
return 'benchmark_adapter';
}
/**
* Should this adapter be hidden in user interface for phone creation and
* available to creation through API only
* available to creation through API only.
*/
public static function meta_hidden(): bool
{

View file

@ -51,17 +51,16 @@ namespace adapters;
{
return 'gammu_adapter';
}
/**
* Should this adapter be hidden in user interface for phone creation and
* available to creation through API only
* available to creation through API only.
*/
public static function meta_hidden(): bool
{
return false;
}
/**
* Name of the adapter.
* It should probably be the name of the service it adapt (e.g : Gammu SMSD, OVH SMS, SIM800L, etc.).

View file

@ -50,7 +50,7 @@ class OctopushShortcodeAdapter implements AdapterInterface
* Adapter constructor, called when instanciated by RaspiSMS.
*
* @param string $number : Phone number the adapter is used for
* @param json string $data : JSON string of the data to configure interaction with the implemented service
* @param json string $data : JSON string of the data to configure interaction with the implemented service
*/
public function __construct(string $data)
{
@ -77,10 +77,10 @@ class OctopushShortcodeAdapter implements AdapterInterface
{
return 'octopush_shortcode_adapter';
}
/**
* Should this adapter be hidden in user interface for phone creation and
* available to creation through API only
* available to creation through API only.
*/
public static function meta_hidden(): bool
{

View file

@ -55,7 +55,7 @@ class OctopushVirtualNumberAdapter implements AdapterInterface
* Adapter constructor, called when instanciated by RaspiSMS.
*
* @param string $number : Phone number the adapter is used for
* @param json string $data : JSON string of the data to configure interaction with the implemented service
* @param json string $data : JSON string of the data to configure interaction with the implemented service
*/
public function __construct(string $data)
{
@ -83,10 +83,10 @@ class OctopushVirtualNumberAdapter implements AdapterInterface
{
return 'octopush_virtual_number_adapter';
}
/**
* Should this adapter be hidden in user interface for phone creation and
* available to creation through API only
* available to creation through API only.
*/
public static function meta_hidden(): bool
{

View file

@ -32,7 +32,7 @@ namespace adapters;
* Adapter constructor, called when instanciated by RaspiSMS.
*
* @param string $number : Phone number the adapter is used for
* @param json string $data : JSON string of the data to configure interaction with the implemented service
* @param json string $data : JSON string of the data to configure interaction with the implemented service
*/
public function __construct(string $data)
{
@ -62,10 +62,10 @@ namespace adapters;
{
return 'ovh_sms_shortcode_adapter';
}
/**
* Should this adapter be hidden in user interface for phone creation and
* available to creation through API only
* available to creation through API only.
*/
public static function meta_hidden(): bool
{

View file

@ -74,10 +74,10 @@ namespace adapters;
{
return 'ovh_sms_virtual_number_adapter';
}
/**
* Should this adapter be hidden in user interface for phone creation and
* available to creation through API only
* available to creation through API only.
*/
public static function meta_hidden(): bool
{

View file

@ -61,10 +61,10 @@ namespace adapters;
{
return 'test_adapter';
}
/**
* Should this adapter be hidden in user interface for phone creation and
* available to creation through API only
* available to creation through API only.
*/
public static function meta_hidden(): bool
{

View file

@ -42,7 +42,7 @@ class TwilioVirtualNumberAdapter implements AdapterInterface
* Adapter constructor, called when instanciated by RaspiSMS.
*
* @param string $number : Phone number the adapter is used for
* @param json string $data : JSON string of the data to configure interaction with the implemented service
* @param json string $data : JSON string of the data to configure interaction with the implemented service
*/
public function __construct(string $data)
{
@ -73,10 +73,10 @@ class TwilioVirtualNumberAdapter implements AdapterInterface
{
return 'twilio_virtual_number_adapter';
}
/**
* Should this adapter be hidden in user interface for phone creation and
* available to creation through API only
* available to creation through API only.
*/
public static function meta_hidden(): bool
{