Fix pint issues

This commit is contained in:
Bubka 2024-11-27 11:37:14 +01:00
parent e7ad0df6a3
commit 1fdedddd6b
5 changed files with 3 additions and 12 deletions

View File

@ -32,9 +32,6 @@ class IconStoreService
*/
protected Sanitizer $svgSanitizer;
/**
*
*/
public function __construct(Sanitizer $svgSanitizer)
{
$this->usesDatabase = Settings::get('storeIconsInDatabase');

View File

@ -30,9 +30,6 @@ class LogoService
*/
const TFA_IMG_URL = 'https://raw.githubusercontent.com/2factorauth/twofactorauth/master/img/';
/**
*
*/
public function __construct()
{
$this->setTfaCollection();

View File

@ -829,7 +829,7 @@ public function test_update_with_removed_icon_prevents_official_logo_fetching()
'legacy_uri' => OtpTestData::TOTP_SHORT_URI,
'icon' => 'icon.png',
]);
$twofaccount = TwoFAccount::factory()->for($this->user)->create($attributes);
$twofaccount = TwoFAccount::factory()->for($this->user)->create($attributes);
$attributes['icon'] = '';
$response = $this->actingAs($this->user, 'api-guard')

View File

@ -26,9 +26,6 @@ class IconServiceTest extends FeatureTestCase
{
use WithoutMiddleware;
/**
*
*/
protected IconService $iconService;
public function setUp() : void