1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 15:44:49 +02:00

refactor(endpoints): fix typhint in validate_entries_token()

This commit is contained in:
Awilum
2020-12-27 19:58:55 +03:00
parent 57d7c33de6
commit 92d5bc525f

View File

@@ -22,7 +22,7 @@ use function is_array;
/**
* Validate entries entries token
*/
function validate_entries_token($token): bool
function validate_entries_token(string $token): bool
{
return filesystem()->file(PATH['project'] . '/tokens/entries/' . $token . '/token.yaml')->exists();
}