diff --git a/src/Schema/Directives/CanDirective.php b/src/Schema/Directives/CanDirective.php index c32298211d..7cc84e5fa4 100644 --- a/src/Schema/Directives/CanDirective.php +++ b/src/Schema/Directives/CanDirective.php @@ -159,7 +159,7 @@ protected function getAdditionalArguments(): array { $directiveArgs = (array) $this->directiveArgValue('args'); $inputArgs = $this->directiveArgValue('input') === true ? [$this->args] : []; - + return array_merge($directiveArgs, $inputArgs); } }