mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-05 06:35:38 +09:00
Apply PHP Code Styling & Quality Changes (#2217)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
This commit is contained in:
1 parent
8f4a48d873
commit
4d08c49d80
1 file changed
+5
-8
@@ -141,14 +141,11 @@ class Service implements \FOSSBilling\InjectionAwareInterface
|
||||
|
||||
public function generateOrderTitle(array $config): ?string
|
||||
{
|
||||
switch ($config['action']) {
|
||||
case 'transfer':
|
||||
return $config['transfer_sld'] . $config['transfer_tld'];
|
||||
case 'register':
|
||||
return $config['register_sld'] . $config['register_tld'];
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
return match ($config['action']) {
|
||||
'transfer' => $config['transfer_sld'] . $config['transfer_tld'],
|
||||
'register' => $config['register_sld'] . $config['register_tld'],
|
||||
default => null,
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user