mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 18:22: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:
parent
bbeb850d63
commit
df67401e24
1 changed files with 11 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue