Fix typo in variable name
Summary: Blame Rev: D6047 Test Plan: $ arc lint # with D6406 Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D6407
This commit is contained in:
@@ -18,7 +18,7 @@ final class PhabricatorPolicy {
|
|||||||
|
|
||||||
if (!$handle) {
|
if (!$handle) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
"Policy identifier is an object PHID ('{$phid_identifier}'), but no ".
|
"Policy identifier is an object PHID ('{$policy_identifier}'), but no ".
|
||||||
"object handle was provided. A handle must be provided for object ".
|
"object handle was provided. A handle must be provided for object ".
|
||||||
"policies.");
|
"policies.");
|
||||||
}
|
}
|
||||||
@@ -26,7 +26,7 @@ final class PhabricatorPolicy {
|
|||||||
$handle_phid = $handle->getPHID();
|
$handle_phid = $handle->getPHID();
|
||||||
if ($policy_identifier != $handle_phid) {
|
if ($policy_identifier != $handle_phid) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
"Policy identifier is an object PHID ('{$phid_identifier}'), but ".
|
"Policy identifier is an object PHID ('{$policy_identifier}'), but ".
|
||||||
"the provided handle has a different PHID ('{$handle_phid}'). The ".
|
"the provided handle has a different PHID ('{$handle_phid}'). The ".
|
||||||
"handle must correspond to the policy identifier.");
|
"handle must correspond to the policy identifier.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user