Files
php-flasher/src/Prime/Stamp/PluginStamp.php
T
Younes ENNAJI 3f920f2c01 Simplify PHPDoc comments in Plugin, HTTP, Stamp, and Test constraint classes
Removes verbose documentation while preserving type annotations.
2026-01-16 00:07:42 +01:00

26 lines
453 B
PHP

<?php
declare(strict_types=1);
namespace Flasher\Prime\Stamp;
final readonly class PluginStamp implements PresentableStampInterface, StampInterface
{
public function __construct(private string $plugin)
{
}
public function getPlugin(): string
{
return $this->plugin;
}
/**
* @return array{plugin: string}
*/
public function toArray(): array
{
return ['plugin' => $this->plugin];
}
}