mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +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:
parent
941b769aba
commit
c4246cf871
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue