Skip to content

Commit f5949f2

Browse files
committed
test(phpstan): Add missing return type hint
1 parent 7adf74f commit f5949f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/modules/graphql_file_validate/graphql_file_validate.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use Drupal\file\FileInterface;
1010
/**
1111
* Implements hook_file_validate().
1212
*/
13-
function graphql_file_validate(FileInterface $file) {
13+
function graphql_file_validate(FileInterface $file): void {
1414
if (!file_exists($file->getFileUri())) {
1515
throw new \Exception('File does not exist during validation: ' . $file->getFileUri());
1616
}

0 commit comments

Comments
 (0)