1
0
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:
Awilum
2020-12-27 20:01:19 +03:00
parent 92d5bc525f
commit ceca5a1647

View File

@@ -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();
}