You've already forked Atomcms-edit
34 lines
714 B
PHP
Executable File
34 lines
714 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Services\Parsers;
|
|
|
|
class ExternalTextsParser
|
|
{
|
|
public function getBadgeData(string $badgeCode): array
|
|
{
|
|
// Minimal stub implementation for compatibility with PHPStan during migration.
|
|
return [
|
|
'image' => '',
|
|
'nitro' => [],
|
|
'flash' => [],
|
|
];
|
|
}
|
|
|
|
public function updateNitroBadgeTexts(string $code, string $title, string $description): void
|
|
{
|
|
// stub
|
|
}
|
|
|
|
public function updateFlashBadgeTexts(string $code, string $title, string $description): void
|
|
{
|
|
// stub
|
|
}
|
|
|
|
public function getBadgeImageUrl(string $badgeCode): string
|
|
{
|
|
return '';
|
|
}
|
|
}
|