Fix typo in method name

This commit is contained in:
2013-11-21 23:17:13 +06:00
parent 99c68b1091
commit 4e7dc30fea
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ final class ManiphestSearchController
private $taskTypeKey; private $taskTypeKey;
private $taskTypes; private $taskTypes;
protected function getDescruptionForQuery($query) { protected function getDescriptionForQuery($query) {
$description = 'Showing results for '; $description = 'Showing results for ';
if ($query->getIsBuiltin()) { if ($query->getIsBuiltin()) {
$description .= ' query "%s"'; $description .= ' query "%s"';

View File

@@ -86,7 +86,7 @@
} }
} }
protected function getDescruptionForQuery($query) { protected function getDescriptionForQuery($query) {
if ($query->getIsBuiltin()) { if ($query->getIsBuiltin()) {
$description = pht( $description = pht(
'Showing results for query "%s".', 'Showing results for query "%s".',
@@ -192,7 +192,7 @@
$filter_view = id(new AphrontListFilterView())->appendChild($form); $filter_view = id(new AphrontListFilterView())->appendChild($form);
if ($run_query && $named_query) { if ($run_query && $named_query) {
$description = $this->getDescruptionForQuery($named_query); $description = $this->getDescriptionForQuery($named_query);
$filter_view->setCollapsed( $filter_view->setCollapsed(
pht('Edit Query...'), pht('Edit Query...'),
pht('Hide Query'), pht('Hide Query'),