From 05dbc0fb961d43a8937760e7bc7f88a6944df234 Mon Sep 17 00:00:00 2001 From: Jeremiah VALERIE Date: Tue, 28 Aug 2018 13:30:11 +0200 Subject: [PATCH] Fix sprintf call --- src/Type/Definition/InputObjectType.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Type/Definition/InputObjectType.php b/src/Type/Definition/InputObjectType.php index 0e39c05..4b4bb52 100644 --- a/src/Type/Definition/InputObjectType.php +++ b/src/Type/Definition/InputObjectType.php @@ -12,7 +12,6 @@ use function is_array; use function is_callable; use function is_string; use function sprintf; -use function spritnf; /** * Class InputObjectType @@ -70,7 +69,7 @@ class InputObjectType extends Type implements InputType, NamedType if (! is_array($fields)) { throw new InvariantViolation( - spritnf('%s fields must be an array or a callable which returns such an array.', $this->name) + sprintf('%s fields must be an array or a callable which returns such an array.', $this->name) ); }