@@ -864,7 +864,7 @@ protected function completeValue(
864
864
ResolveInfo $ info ,
865
865
array $ path ,
866
866
array $ unaliasedPath ,
867
- & $ result ,
867
+ $ result ,
868
868
$ contextValue
869
869
) {
870
870
// If result is an Error, throw a located error.
@@ -1007,7 +1007,7 @@ protected function completeListValue(
1007
1007
ResolveInfo $ info ,
1008
1008
array $ path ,
1009
1009
array $ unaliasedPath ,
1010
- iterable & $ results ,
1010
+ iterable $ results ,
1011
1011
$ contextValue
1012
1012
) {
1013
1013
$ itemType = $ returnType ->getWrappedType ();
@@ -1045,7 +1045,7 @@ protected function completeListValue(
1045
1045
*
1046
1046
* @return mixed
1047
1047
*/
1048
- protected function completeLeafValue (LeafType $ returnType , & $ result )
1048
+ protected function completeLeafValue (LeafType $ returnType , $ result )
1049
1049
{
1050
1050
try {
1051
1051
return $ returnType ->serialize ($ result );
@@ -1079,7 +1079,7 @@ protected function completeAbstractValue(
1079
1079
ResolveInfo $ info ,
1080
1080
array $ path ,
1081
1081
array $ unaliasedPath ,
1082
- & $ result ,
1082
+ $ result ,
1083
1083
$ contextValue
1084
1084
) {
1085
1085
$ typeCandidate = $ returnType ->resolveType ($ result , $ contextValue , $ info );
@@ -1213,7 +1213,7 @@ protected function completeObjectValue(
1213
1213
ResolveInfo $ info ,
1214
1214
array $ path ,
1215
1215
array $ unaliasedPath ,
1216
- & $ result ,
1216
+ $ result ,
1217
1217
$ contextValue
1218
1218
) {
1219
1219
// If there is an isTypeOf predicate function, call it with the
@@ -1229,7 +1229,7 @@ protected function completeObjectValue(
1229
1229
$ fieldNodes ,
1230
1230
$ path ,
1231
1231
$ unaliasedPath ,
1232
- & $ result
1232
+ $ result
1233
1233
) {
1234
1234
if (! $ isTypeOfResult ) {
1235
1235
throw $ this ->invalidReturnTypeError ($ returnType , $ result , $ fieldNodes );
@@ -1296,7 +1296,7 @@ protected function collectAndExecuteSubfields(
1296
1296
\ArrayObject $ fieldNodes ,
1297
1297
array $ path ,
1298
1298
array $ unaliasedPath ,
1299
- & $ result ,
1299
+ $ result ,
1300
1300
$ contextValue
1301
1301
) {
1302
1302
$ subFieldNodes = $ this ->collectSubFields ($ returnType , $ fieldNodes );
@@ -1444,7 +1444,7 @@ protected function ensureValidRuntimeType(
1444
1444
$ runtimeTypeOrName ,
1445
1445
AbstractType $ returnType ,
1446
1446
ResolveInfo $ info ,
1447
- & $ result
1447
+ $ result
1448
1448
): ObjectType {
1449
1449
$ runtimeType = is_string ($ runtimeTypeOrName )
1450
1450
? $ this ->exeContext ->schema ->getType ($ runtimeTypeOrName )
0 commit comments