Upgrade to 4.1.1
This commit is contained in:
@@ -105,6 +105,14 @@ trait FileModifications
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sharpens the image
|
||||
*/
|
||||
public function sharpen(int $amount = 50): FileVersion|File|Asset
|
||||
{
|
||||
return $this->thumb(['sharpen' => $amount]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a srcset definition for the given sizes
|
||||
* Sizes can be defined as a simple array. They can
|
||||
|
||||
@@ -62,10 +62,11 @@ enum LicenseStatus: string
|
||||
/**
|
||||
* Returns the dialog according to the status
|
||||
*/
|
||||
public function dialog(): string
|
||||
public function dialog(): string|null
|
||||
{
|
||||
return match ($this) {
|
||||
static::Missing => 'registration',
|
||||
static::Demo => null,
|
||||
default => 'license'
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user