Passed
Push — master ( b1fb0e...56fa88 )
by Valentin
03:47
created
src/Structure/Workflow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
      */
139 139
     public function setJobs(ArrayCollection $jobs): Workflow
140 140
     {
141
-        $this->jobs = $jobs->filter(function (Job $job) {
141
+        $this->jobs = $jobs->filter(function(Job $job) {
142 142
             return true;
143 143
         });
144 144
         return $this;
Please login to merge, or discard this patch.
src/Structure/Job.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
      */
36 36
     public function setTasks(ArrayCollection $tasks): Job
37 37
     {
38
-        $this->tasks = $tasks->filter(function (Task $task) {
38
+        $this->tasks = $tasks->filter(function(Task $task) {
39 39
             return true;
40 40
         });
41 41
         return $this;
Please login to merge, or discard this patch.
src/Structure/JobInstance.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
      */
36 36
     public function setTaskInstances(ArrayCollection $taskInstances): JobInstance
37 37
     {
38
-        $this->taskInstances = $taskInstances->filter(function (TaskInstance $taskInstance) {
38
+        $this->taskInstances = $taskInstances->filter(function(TaskInstance $taskInstance) {
39 39
             return true;
40 40
         });
41 41
         return $this;
Please login to merge, or discard this patch.
src/Command/WorkflowExistsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $workflows = parent::parseResponse($responseLine, $responseData);
47 47
 
48 48
         $name = $this->name;
49
-        $matchingWorkflows = $workflows->filter(function (Workflow $workflow) use ($name) {
49
+        $matchingWorkflows = $workflows->filter(function(Workflow $workflow) use ($name) {
50 50
             return $workflow->getName() === $name;
51 51
         });
52 52
 
Please login to merge, or discard this patch.
src/Command/TubeExistsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $tubes = parent::parseResponse($responseLine, $responseData);
47 47
 
48 48
         $name = $this->name;
49
-        $matchingTubes = $tubes->filter(function (Tube $tube) use ($name) {
49
+        $matchingTubes = $tubes->filter(function(Tube $tube) use ($name) {
50 50
             return $tube->getName() === $name;
51 51
         });
52 52
 
Please login to merge, or discard this patch.
src/Pheanstalk.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -288,7 +288,7 @@
 block discarded – undo
288 288
     public function findWorkflow(Workflow $workflow)
289 289
     {
290 290
         $workflows = $this->_dispatch(new Command\ListWorkflowsCommand());
291
-        return $workflows->filter(function (Workflow $listedWorkflow) use ($workflow) {
291
+        return $workflows->filter(function(Workflow $listedWorkflow) use ($workflow) {
292 292
             return $listedWorkflow->getName() === $workflow->getName()
293 293
                 && $listedWorkflow->getGroup() === $workflow->getGroup();
294 294
         })->first();
Please login to merge, or discard this patch.