You've already forked Atomcms-edit
Initial commit
This commit is contained in:
Executable
+33
@@ -0,0 +1,33 @@
|
||||
<?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 '';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user