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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user