Completed
Push — master ( c091c4...4d91a4 )
by Mathias
16:01 queued 08:12
created
module/Jobs/src/Controller/ApiJobListByOrganizationController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,7 @@
 block discarded – undo
45 45
         $callback = $this->filter->setData($_GET)->getValue('callback');
46 46
 
47 47
         $status = $this->filter->getValue('status');
48
-        if (true === $status) { $status = null; }
49
-        elseif (!$status) { $status = StatusInterface::ACTIVE; }
48
+        if (true === $status) { $status = null; } elseif (!$status) { $status = StatusInterface::ACTIVE; }
50 49
 
51 50
         try {
52 51
             $jobs = $this->jobRepository->findByOrganization($organizationId, $status);
Please login to merge, or discard this patch.