Fix some odd looking arrays
Summary: These arrays looks a little odd, most likely due to the autofix applied by `ArcanistXHPASTLinter::LINT_ARRAY_SEPARATOR`. See D12296 in which I attempt to improve the autocorrection from this linter rule. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D12281
This commit is contained in:
@@ -376,7 +376,8 @@ final class PhrictionDocumentController
|
||||
$child_dict = array(
|
||||
'slug' => $child->getSlug(),
|
||||
'depth' => $child->getDepth(),
|
||||
'title' => $child->getContent()->getTitle(),);
|
||||
'title' => $child->getContent()->getTitle(),
|
||||
);
|
||||
if ($child->getDepth() == $d_child) {
|
||||
$children_dicts[] = $child_dict;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user