Fix sprintf call

This commit is contained in:
Jeremiah VALERIE 2018-08-28 13:30:11 +02:00
parent 31601d710b
commit 05dbc0fb96
No known key found for this signature in database
GPG Key ID: 668676FD50ADF244

View File

@ -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)
);
}