1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01:00

Remove unreachable return statement in AphrontFormDateControlValue

Summary: Two unconditional return statements lead to never reaching the second one.

Test Plan: Read the code of this method.

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25729
This commit is contained in:
Andre Klapper 2024-07-10 15:24:40 +02:00
parent 941b769aba
commit c4246cf871

View file

@ -207,8 +207,6 @@ final class AphrontFormDateControlValue extends Phobject {
$datetime->format($this->getDateFormat()),
$datetime->format($this->getTimeFormat()),
);
return array($date, $time);
}
private function newDateTime($date, $time) {