Merge pull request #597 from m3741/swap_tabs_for_spaces

Swap tabs for spaces to match formatting of the rest of the project
This commit is contained in:
Gary Green
2015-07-24 21:25:33 +01:00

View File

@@ -67,17 +67,18 @@ class NetworkController implements ControllerProviderInterface
);
}
// when no commits are given, return an empty response - issue #369
if( count($commits) === 0 ) {
return $app->json( array(
'repo' => $repo,
'commitishPath' => $commitishPath,
'nextPage' => null,
'start' => null,
'commits' => $jsonFormattedCommits
), 200
);
}
// when no commits are given, return an empty response - issue #369
if (count($commits) === 0) {
return $app->json(
array(
'repo' => $repo,
'commitishPath' => $commitishPath,
'nextPage' => null,
'start' => null,
'commits' => $jsonFormattedCommits
), 200
);
}
return $app->json( array(
'repo' => $repo,