Skip to content

Commit

Permalink
Limit PHP Version
Browse files Browse the repository at this point in the history
  • Loading branch information
byjg committed Oct 27, 2024
1 parent 1ab492b commit 7f14c9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": ">=8.1",
"php": ">=8.1 <8.4",
"ext-dom": "*",
"byjg/xmlutil": "^5.0",
"byjg/serializer": "^5.0"
Expand Down
3 changes: 2 additions & 1 deletion src/AnyDataset.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,9 @@ public function removeRow(int|Row $row = null): void
}
if ($row instanceof Row) {
$iPos = 0;
$rowArr = $row->toArray();
foreach ($this->collection as $sr) {
if ($sr->toArray() == $row->toArray()) {
if ($sr->toArray() == $rowArr) {
$this->removeRow($iPos);
break;
}
Expand Down

0 comments on commit 7f14c9e

Please sign in to comment.