From fb0ca607e2cab06caf321dddac087a5a79d8f04f Mon Sep 17 00:00:00 2001 From: Vladimir Razuvaev Date: Fri, 29 Sep 2017 20:07:36 +0700 Subject: [PATCH] Fixed a mistake in the type language documentation (#176) --- docs/type-system/type-language.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/type-system/type-language.md b/docs/type-system/type-language.md index f7821ec..bf00dff 100644 --- a/docs/type-system/type-language.md +++ b/docs/type-system/type-language.md @@ -82,7 +82,7 @@ $cacheFilename = 'cached_schema.php'; if (!file_exists($cacheFilename)) { $document = Parser::parse(file_get_contents('./schema.graphql')); - file_put_contents($cacheFilename, "toArray(), true)); + file_put_contents($cacheFilename, "