Completed
Push — master ( 6af41a...b74e8f )
by Tristan
08:27
created
src/Controller/ApiController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,7 @@
 block discarded – undo
24 24
                 $comment = $app['project_repository']->findComment($repoHook, null);
25 25
                 $id = $app['project_repository']->findId($repoHook, null);
26 26
                 $token  = $app['credential_repository']->findToken($repoHook, null);
27
-            }
28
-            elseif (in_array($branchHook, $branch)){
27
+            } elseif (in_array($branchHook, $branch)){
29 28
                 $comment = $app['project_repository']->findComment($repoHook, $branchHook);
30 29
                 $id = $app['project_repository']->findId($repoHook, $branchHook);
31 30
                 $token  = $app['credential_repository']->findToken($repoHook, $branchHook);
Please login to merge, or discard this patch.