Page MenuHomePhorge

D25711.1734626310.diff
No OneTemporary

D25711.1734626310.diff

diff --git a/src/applications/fact/extract/PhabricatorFactUpdateIterator.php b/src/applications/fact/extract/PhabricatorFactUpdateIterator.php
--- a/src/applications/fact/extract/PhabricatorFactUpdateIterator.php
+++ b/src/applications/fact/extract/PhabricatorFactUpdateIterator.php
@@ -33,6 +33,7 @@
}
}
+ #[\ReturnTypeWillChange]
public function key() {
return $this->getCursorFromObject($this->current());
}
diff --git a/src/applications/harbormaster/storage/build/HarbormasterBuildLogChunkIterator.php b/src/applications/harbormaster/storage/build/HarbormasterBuildLogChunkIterator.php
--- a/src/applications/harbormaster/storage/build/HarbormasterBuildLogChunkIterator.php
+++ b/src/applications/harbormaster/storage/build/HarbormasterBuildLogChunkIterator.php
@@ -18,6 +18,7 @@
$this->cursor = $this->min;
}
+ #[\ReturnTypeWillChange]
public function key() {
return $this->current()->getID();
}
diff --git a/src/infrastructure/storage/lisk/LiskMigrationIterator.php b/src/infrastructure/storage/lisk/LiskMigrationIterator.php
--- a/src/infrastructure/storage/lisk/LiskMigrationIterator.php
+++ b/src/infrastructure/storage/lisk/LiskMigrationIterator.php
@@ -26,6 +26,7 @@
$this->cursor = 0;
}
+ #[\ReturnTypeWillChange]
public function key() {
return $this->current()->getID();
}
diff --git a/src/infrastructure/storage/lisk/LiskRawMigrationIterator.php b/src/infrastructure/storage/lisk/LiskRawMigrationIterator.php
--- a/src/infrastructure/storage/lisk/LiskRawMigrationIterator.php
+++ b/src/infrastructure/storage/lisk/LiskRawMigrationIterator.php
@@ -16,6 +16,7 @@
$this->cursor = 0;
}
+ #[\ReturnTypeWillChange]
public function key() {
return idx($this->current(), $this->column);
}
diff --git a/src/infrastructure/storage/lisk/PhabricatorQueryIterator.php b/src/infrastructure/storage/lisk/PhabricatorQueryIterator.php
--- a/src/infrastructure/storage/lisk/PhabricatorQueryIterator.php
+++ b/src/infrastructure/storage/lisk/PhabricatorQueryIterator.php
@@ -18,6 +18,7 @@
$this->pager = $pager;
}
+ #[\ReturnTypeWillChange]
public function key() {
return $this->current()->getID();
}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 16:38 (34 m, 26 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015169
Default Alt Text
D25711.1734626310.diff (2 KB)

Event Timeline