Skip to content

Commit c3a7eb4

Browse files
committed
stanning
1 parent 03db33d commit c3a7eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validator/DocumentValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public static function validate(
105105
): array {
106106
$cacheKey = null;
107107

108-
if ($cache) {
108+
if (isset($cache)) {
109109
$cacheKey = 'gql_validation_' . md5($ast->__toString());
110110

111111
if ($cache->has($cacheKey)) {

0 commit comments

Comments
 (0)