Completed
Push — master ( 59eb56...63534b )
by Mathias
17:15 queued 09:16
created
Jobs/src/Factory/Controller/ApiJobListByOrganizationControllerFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         /** @var \Jobs\Model\ApiJobDehydrator $apiJobDehydrator */
36 36
         $apiJobDehydrator = $container->get('Jobs\Model\ApiJobDehydrator');
37 37
 
38
-        $filterStatus = function ($value) {
38
+        $filterStatus = function($value) {
39 39
             static $validValues = [
40 40
                 StatusInterface::ACTIVE,
41 41
                 StatusInterface::CREATED,
Please login to merge, or discard this patch.
module/Jobs/src/Controller/ApiJobListByOrganizationController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@
 block discarded – undo
46 46
 
47 47
         $status = $this->filter->getValue('status');
48 48
         var_dump($status);
49
-        if (true === $status) { $status = null; }
50
-        elseif (!$status) { $status = StatusInterface::ACTIVE; }
49
+        if (true === $status) { $status = null; } elseif (!$status) { $status = StatusInterface::ACTIVE; }
51 50
         var_dump($status);
52 51
         try {
53 52
             $jobs = $this->jobRepository->findByOrganization($organizationId, $status);
Please login to merge, or discard this patch.