mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 06:06:45 +02:00
refactor(endpoints): fix typhint in validate_images_token()
This commit is contained in:
@@ -19,7 +19,7 @@ use function flextype;
|
||||
/**
|
||||
* Validate images token
|
||||
*/
|
||||
function validate_images_token($token): bool
|
||||
function validate_images_token(string $token): bool
|
||||
{
|
||||
return filesystem()->file(PATH['project'] . '/tokens/images/' . $token . '/token.yaml')->exists();
|
||||
}
|
||||
|
Reference in New Issue
Block a user