Skip to content

Commit b6fe3ff

Browse files
committed
GraphQl-232: GraphQL tools cannot perform "standard introspection query" in production mode
1 parent 0b4e017 commit b6fe3ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/internal/Magento/Framework/GraphQl/Query/IntrospectionConfiguration.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ public function __construct(
3333
/**
3434
* Check the the environment config to determine if introspection should be disabled.
3535
*
36-
* @return int
36+
* @return bool
3737
*/
38-
public function isIntrospectionDisabled(): int
38+
public function isIntrospectionDisabled(): bool
3939
{
40-
return (int) $this->deploymentConfig->get(self::CONFIG_PATH_DISABLE_INTROSPECTION);
40+
return (bool)$this->deploymentConfig->get(self::CONFIG_PATH_DISABLE_INTROSPECTION);
4141
}
4242
}

0 commit comments

Comments
 (0)