File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,12 @@ You can find and compare releases at the [GitHub release page](https://github.co
116
116
- Remove ` Utils::find() ` , ` Utils::every() ` and ` Utils::invariant() `
117
117
- Remove argument ` bool $exitWhenDone ` from ` StandardServer::send500Error() ` and ` StandardServer::handleRequest() `
118
118
119
+ ## 14.11.6
120
+
121
+ ### Fixed
122
+
123
+ - Fix validation of modified sparse ASTs
124
+
119
125
## 14.11.5
120
126
121
127
### Fixed
Original file line number Diff line number Diff line change @@ -209,8 +209,7 @@ public function getFragmentSpreads(HasSelectionSet $node): array
209
209
while (count ($ setsToVisit ) > 0 ) {
210
210
$ set = array_pop ($ setsToVisit );
211
211
212
- for ($ i = 0 , $ selectionCount = count ($ set ->selections ); $ i < $ selectionCount ; ++$ i ) {
213
- $ selection = $ set ->selections [$ i ];
212
+ foreach ($ set ->selections as $ selection ) {
214
213
if ($ selection instanceof FragmentSpreadNode) {
215
214
$ spreads [] = $ selection ;
216
215
} else {
You can’t perform that action at this time.
0 commit comments