From 3b505e350828645d498a9f1003eec059702b2191 Mon Sep 17 00:00:00 2001 From: Adam Kouse Date: Sun, 7 Jun 2015 15:55:53 -0400 Subject: [PATCH] Swap tabs for spaces to match formatting of the rest of the project --- src/GitList/Controller/NetworkController.php | 23 ++++++++++---------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/GitList/Controller/NetworkController.php b/src/GitList/Controller/NetworkController.php index 1c6a920..beaa6eb 100644 --- a/src/GitList/Controller/NetworkController.php +++ b/src/GitList/Controller/NetworkController.php @@ -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,