Skip to content

Commit 110014c

Browse files
committed
Revert "Alter guarantees provided by StatementList::toArray"
1 parent 444914f commit 110014c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/Statement/StatementList.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,7 @@ public function getIterator() {
237237
}
238238

239239
/**
240-
* Returns the wrapped array of statements. This retrieval operation is cheap.
241-
* No guarantees are given about the keys of the returned array.
242-
*
243-
* @return Statement[]
240+
* @return Statement[] Numerically indexed (non-sparse) array.
244241
*/
245242
public function toArray() {
246243
return $this->statements;

0 commit comments

Comments
 (0)