Skip to content

Commit 226e5f5

Browse files
committed
Reworked exchangeArray in RowGateway to correct behaviour
1 parent 5cc7b06 commit 226e5f5

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/RowGateway/AbstractRowGateway.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,8 @@ public function populate(array $rowData, bool $rowExistsInDatabase = false): Row
8282
}
8383

8484
/**
85-
* Exchanges internal state from the given data.
86-
*
87-
* @deprecated since 1.0.0 — BC layer for pre-PhpDb
88-
* Will be removed or signature changed in 1.0.0.
89-
* Consumers should treat the return value as an array.
85+
* docs: Behaviour has changed - this no longer returns RowGatewayInterface but
86+
* instead an array of the old data as per original PHP spec.
9087
*
9188
* @return array<string, mixed>
9289
*/

0 commit comments

Comments
 (0)