Commit 645e8bc
committed
Do not iterate on CollectionInfoIterator multiple times
As of PHPC-255, we cannot rewind a Cursor. PHPLIB-81 will ultimately change this by caching results; however, there is also no need to assert the iterator count here, since we're asserting the name during iteration (two CollectionInfo results would not share the same name).1 parent cdc9235 commit 645e8bc
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
| |||
0 commit comments