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:
authored and GitHub committed 2025-09-17 23:15:41 +03:00
1 parent fc84fe5117
commit 4445263a7d
3 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -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();
-2
View File
@@ -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
{
+2 -2
View File
@@ -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);