Skip to content

Commit 908bbc3

Browse files
author
Grzegorz Rajchman
committed
Correct indentation
1 parent 23fb4ea commit 908bbc3

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

lib/Resque/Job.php

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ public function getInstance()
175175
return $this->instance;
176176
}
177177

178-
$this->instance = $this->getJobFactory()->create($this->payload['class'], $this->getArguments(), $this->queue);
179-
$this->instance->job = $this;
180-
return $this->instance;
178+
$this->instance = $this->getJobFactory()->create($this->payload['class'], $this->getArguments(), $this->queue);
179+
$this->instance->job = $this;
180+
return $this->instance;
181181
}
182182

183183
/**
@@ -294,26 +294,26 @@ public function setJobFactory(Resque_Job_FactoryInterface $jobFactory)
294294
return $this;
295295
}
296296

297-
/**
298-
* @return Resque_Job_FactoryInterface
299-
*/
300-
public function getJobFactory()
301-
{
302-
if ($this->jobFactory === null) {
303-
$this->jobFactory = new Resque_Job_Factory();
304-
}
305-
return $this->jobFactory;
306-
}
307-
308-
/**
309-
* @return string
310-
*/
311-
private function getPrefix()
312-
{
313-
if (isset($this->payload['prefix'])) {
314-
return $this->payload['prefix'];
315-
}
316-
317-
return '';
318-
}
297+
/**
298+
* @return Resque_Job_FactoryInterface
299+
*/
300+
public function getJobFactory()
301+
{
302+
if ($this->jobFactory === null) {
303+
$this->jobFactory = new Resque_Job_Factory();
304+
}
305+
return $this->jobFactory;
306+
}
307+
308+
/**
309+
* @return string
310+
*/
311+
private function getPrefix()
312+
{
313+
if (isset($this->payload['prefix'])) {
314+
return $this->payload['prefix'];
315+
}
316+
317+
return '';
318+
}
319319
}

0 commit comments

Comments
 (0)