You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Executor/Values.php
+4-16Lines changed: 4 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -238,23 +238,14 @@ public static function getArgumentValuesForMap($def, array $argumentValueMap, ?a
238
238
$safeArgType = Utils::printSafe($argType);
239
239
240
240
if ($isNull) {
241
-
thrownewError(
242
-
"Argument \"{$name}\" of non-null type \"{$safeArgType}\" must not be null.",
243
-
$referenceNode
244
-
);
241
+
thrownewError("Argument \"{$name}\" of non-null type \"{$safeArgType}\" must not be null.", $referenceNode);
245
242
}
246
243
247
244
if ($argumentValueNodeinstanceof VariableNode) {
248
-
thrownewError(
249
-
"Argument \"{$name}\" of required type \"{$safeArgType}\" was provided the variable \"\${$argumentValueNode->name->value}\" which was not provided a runtime value.",
250
-
[$argumentValueNode]
251
-
);
245
+
thrownewError("Argument \"{$name}\" of required type \"{$safeArgType}\" was provided the variable \"\${$argumentValueNode->name->value}\" which was not provided a runtime value.", [$argumentValueNode]);
252
246
}
253
247
254
-
thrownewError(
255
-
"Argument \"{$name}\" of required type \"{$safeArgType}\" was not provided.",
256
-
$referenceNode
257
-
);
248
+
thrownewError("Argument \"{$name}\" of required type \"{$safeArgType}\" was not provided.", $referenceNode);
258
249
} elseif ($hasValue) {
259
250
assert($argumentValueNodeinstanceof Node);
260
251
@@ -275,10 +266,7 @@ public static function getArgumentValuesForMap($def, array $argumentValueMap, ?a
275
266
// execution. This is a runtime check to ensure execution does not
0 commit comments