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

Add typehints to Diffusion browse file controller

Test Plan: Display commit.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D2139
This commit is contained in:
vrana 2012-04-07 12:01:25 -07:00
parent bbeb850d63
commit df67401e24

View file

@ -80,9 +80,9 @@ final class DiffusionBrowseFileController extends DiffusionController {
}
private function buildCorpus($selected,
$file_query,
DiffusionFileContentQuery $file_query,
$needs_blame,
$drequest,
DiffusionRequest $drequest,
$path,
$data) {
@ -236,8 +236,15 @@ final class DiffusionBrowseFileController extends DiffusionController {
'Edit');
}
private function buildDisplayRows($text_list, $rev_list, $blame_dict,
$needs_blame, DiffusionRequest $drequest, $file_query, $selected) {
private function buildDisplayRows(
array $text_list,
array $rev_list,
array $blame_dict,
$needs_blame,
DiffusionRequest $drequest,
DiffusionFileContentQuery $file_query,
$selected) {
$last_rev = null;
$color = '#eeeeee';
$rows = array();