Skip to content

Commit

Permalink
Fix the signature check
Browse files Browse the repository at this point in the history
  • Loading branch information
murtukov committed Jan 20, 2021
1 parent 9a1c272 commit f8728b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function (string $alias, ...$args) {
$count = count($args);

// TODO: remove the following if-else-block in 1.0
if (1 === $count && '$' !== $args[0][0]) {
if (1 === $count && '[' === $args[0][0]) {
@trigger_error(
"The signature of the 'mutation' expression function has been changed. Use a variable-length argument list, instead of a signle array argument. For more info visit: https://github.com/overblog/GraphQLBundle/issues/775",
E_USER_DEPRECATED
Expand Down

0 comments on commit f8728b9

Please sign in to comment.