diff --git a/src/flextype/Endpoints/entries.php b/src/flextype/Endpoints/entries.php index b9812a39..dcf687d9 100644 --- a/src/flextype/Endpoints/entries.php +++ b/src/flextype/Endpoints/entries.php @@ -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(); }