mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-06 15:14:20 +09:00
Apply PHP Code Styling & Quality Changes (#2916)
Co-authored-by: FOSSBilling Bot <fossbilling-bot> Co-authored-by: Yağızhan <yagizhan49@protonmail.com>
This commit is contained in:
3 files changed
+3
-5
No files matched your search
@@ -203,7 +203,7 @@ class Service implements \FOSSBilling\InjectionAwareInterface
|
||||
$systemService = $this->di['mod_service']('system');
|
||||
|
||||
[$subject, $content] = $this->_parse($t, $vars);
|
||||
|
||||
|
||||
$emailMod = $this->di['mod']('email');
|
||||
$emailSettings = $emailMod->getConfig();
|
||||
|
||||
|
||||
@@ -109,8 +109,6 @@ class Guest extends \Api_Abstract
|
||||
|
||||
/**
|
||||
* Return the code of the default country, if set.
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function default_country(): ?string
|
||||
{
|
||||
|
||||
@@ -363,7 +363,7 @@ class ServiceTest extends \BBTestCase
|
||||
->method('getConfig')
|
||||
->willReturn([
|
||||
'from_name' => '',
|
||||
'from_email' => ''
|
||||
'from_email' => '',
|
||||
]);
|
||||
|
||||
$di['db'] = $db;
|
||||
@@ -503,7 +503,7 @@ class ServiceTest extends \BBTestCase
|
||||
->method('getConfig')
|
||||
->willReturn([
|
||||
'from_name' => '',
|
||||
'from_email' => ''
|
||||
'from_email' => '',
|
||||
]);
|
||||
|
||||
$di['mod'] = $di->protect(fn () => $modMock);
|
||||
|
||||
Reference in new issue
Block a user