Upgrade to 4.0.3

This commit is contained in:
Bastian Allgeier
2024-01-10 11:32:26 +01:00
parent 270ffc1119
commit 5c44c8fcfd
16 changed files with 614 additions and 590 deletions

View File

@@ -391,7 +391,7 @@ class License
*/
public function save(): bool
{
if ($this->status() !== LicenseStatus::Active) {
if ($this->status()->activatable() !== true) {
throw new InvalidArgumentException([
'key' => 'license.verification'
]);