mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Added nullsafe operator to simplify conditions
This commit is contained in:
@@ -14,7 +14,7 @@ interface ApiKeyServiceInterface
|
||||
public function create(
|
||||
?Chronos $expirationDate = null,
|
||||
?string $name = null,
|
||||
RoleDefinition ...$roleDefinitions
|
||||
RoleDefinition ...$roleDefinitions,
|
||||
): ApiKey;
|
||||
|
||||
public function check(string $key): ApiKeyCheckResult;
|
||||
|
||||
Reference in New Issue
Block a user