Skip to content

Commit 4e7c10c

Browse files
committed
Fix a duplicate case statement
Summary: This appears to be a typo, identified by `ArcanistXHPASTLinter::LINT_DUPLICATE_SWITCH_CASE` (see D11171). Test Plan: `arc lint` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11194
1 parent 85b2696 commit 4e7c10c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/applications/auth/editor/PhabricatorAuthProviderConfigEditor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function getCustomTransactionOldValue(
4141
return (int)$object->getShouldAllowLink();
4242
case PhabricatorAuthProviderConfigTransaction::TYPE_UNLINK:
4343
return (int)$object->getShouldAllowUnlink();
44-
case PhabricatorAuthProviderConfigTransaction::TYPE_UNLINK:
44+
case PhabricatorAuthProviderConfigTransaction::TYPE_TRUST_EMAILS:
4545
return (int)$object->getShouldTrustEmails();
4646
case PhabricatorAuthProviderConfigTransaction::TYPE_PROPERTY:
4747
$key = $xaction->getMetadataValue(

0 commit comments

Comments
 (0)