| @@ -5,13 +5,12 @@ | ||
| 5 | 5 | use YayMailScoped\YayCommerce\AdminShell\License\Contracts\LicenseConfigAdapter; |
| 6 | 6 | use YayMailScoped\YayCommerce\AdminShell\Registry\PluginLicenseInfo; |
| 7 | 7 | /** |
| 8 | 8 | * Builds a PluginLicenseInfo data object from a LicenseHandler's current state. |
| 9 | - * @internal | |
| 10 | 9 | */ |
| 11 | 10 | class PluginInfoFactory |
| 12 | 11 | { |
| 13 | - public static function from_adapter(LicenseConfigAdapter $adapter) : PluginLicenseInfo | |
| 12 | + public static function from_adapter(LicenseConfigAdapter $adapter): PluginLicenseInfo | |
| 14 | 13 | { |
| 15 | 14 | $license = new License($adapter); |
| 16 | 15 | $raw_info = $license->get_license_info(); |
| 17 | 16 | $expires_raw = $raw_info['expires'] ?? null; |