1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 16:52:41 +01:00

Underp ReleephDefaultFieldSelector

Summary: Oops.  Functions only return stuff when you call the `return()` function on the `lvalue`.

Test Plan: Use `ReleephDefaultFieldSelector` is the field selector in a test Releeph project.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5362
This commit is contained in:
Edward Speyer 2013-03-15 19:23:53 +00:00
parent f04d3c9e94
commit c55b866d3c

View file

@ -54,7 +54,7 @@ final class ReleephDefaultFieldSelector extends ReleephFieldSelector {
}
public function arrangeFieldsForSelectForm(array $fields) {
self::selectFields($fields, array(
return self::selectFields($fields, array(
'ReleephStatusFieldSpecification',
'ReleephSeverityFieldSpecification',
'ReleephRequestorFieldSpecification',
@ -62,7 +62,7 @@ final class ReleephDefaultFieldSelector extends ReleephFieldSelector {
}
public function sortFieldsForCommitMessage(array $fields) {
self::selectFields($fields, array(
return self::selectFields($fields, array(
'ReleephCommitMessageFieldSpecification',
'ReleephRequestorFieldSpecification',
'ReleephIntentFieldSpecification',