Skip to content

Commit 7f14c9e

Browse files
committed
Limit PHP Version
1 parent 1ab492b commit 7f14c9e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"prefer-stable": true,
1515
"minimum-stability": "dev",
1616
"require": {
17-
"php": ">=8.1",
17+
"php": ">=8.1 <8.4",
1818
"ext-dom": "*",
1919
"byjg/xmlutil": "^5.0",
2020
"byjg/serializer": "^5.0"

src/AnyDataset.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,9 @@ public function removeRow(int|Row $row = null): void
238238
}
239239
if ($row instanceof Row) {
240240
$iPos = 0;
241+
$rowArr = $row->toArray();
241242
foreach ($this->collection as $sr) {
242-
if ($sr->toArray() == $row->toArray()) {
243+
if ($sr->toArray() == $rowArr) {
243244
$this->removeRow($iPos);
244245
break;
245246
}

0 commit comments

Comments
 (0)