1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-09 16:32:39 +01:00

Remove call to undefined method DoorkeeperDAO::getObjectKey()

Summary: Remove call to undefined static method `DoorKeeperDAO::getObjectKey()` in the `DoorkeeperExternalObject` class. `getObjectKey()` does not exist (and never existed) in any of its parent classes (`DoorkeeperDAO`, `PhabricatorLiskDAO`, `LiskDAO`).

Test Plan: Run static code analysis. Grep the source code and check the git history of parent classes.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25734
This commit is contained in:
Andre Klapper 2024-07-19 13:42:28 +02:00
parent 0873b36569
commit a039c4952f

View file

@ -60,11 +60,7 @@ final class DoorkeeperExternalObject extends DoorkeeperDAO
} }
public function getObjectKey() { public function getObjectKey() {
$key = parent::getObjectKey(); return $this->getRef()->getObjectKey();
if ($key === null) {
$key = $this->getRef()->getObjectKey();
}
return $key;
} }
public function getRef() { public function getRef() {