Skip to content

Commit 0f6f63b

Browse files
committed
StyleCI fixes
1 parent bb67c2a commit 0f6f63b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/Jenssegers/Mongodb/Queue/MongoQueue.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ public function pop($queue = null)
1919
{
2020
$queue = $this->getQueue($queue);
2121

22-
if (!is_null($this->expire))
23-
{
22+
if (!is_null($this->expire)) {
2423
$this->releaseJobsThatHaveBeenReservedTooLong($queue);
2524
}
2625

27-
if ($job = $this->getNextAvailableJobAndReserve($queue))
28-
{
26+
if ($job = $this->getNextAvailableJobAndReserve($queue)) {
2927
return new DatabaseJob(
3028
$this->container, $this, $job, $queue
3129
);
@@ -68,8 +66,7 @@ protected function getNextAvailableJobAndReserve($queue)
6866
]
6967
);
7068

71-
if ($job)
72-
{
69+
if ($job) {
7370
$job->id = $job->_id;
7471
}
7572

0 commit comments

Comments
 (0)