Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit edccb7c

Browse files
committed
make code a little cleaner
1 parent deed004 commit edccb7c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Illuminate/Queue/BeanstalkdQueue.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php namespace Illuminate\Queue;
22

3-
use Pheanstalk\Job as Pheanstalk_Job;
4-
use Pheanstalk\Pheanstalk as Pheanstalk;
3+
use Pheanstalk\Job as PheanstalkJob;
4+
use Pheanstalk\Pheanstalk;
55
use Illuminate\Queue\Jobs\BeanstalkdJob;
66

77
class BeanstalkdQueue extends Queue implements QueueInterface {
@@ -100,7 +100,7 @@ public function pop($queue = null)
100100

101101
$job = $this->pheanstalk->watchOnly($queue)->reserve(0);
102102

103-
if ($job instanceof Pheanstalk_Job)
103+
if ($job instanceof PheanstalkJob)
104104
{
105105
return new BeanstalkdJob($this->container, $this->pheanstalk, $job, $queue);
106106
}

src/Illuminate/Queue/Connectors/BeanstalkdConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php namespace Illuminate\Queue\Connectors;
22

33
use Illuminate\Queue\BeanstalkdQueue;
4-
use Pheanstalk\Pheanstalk as Pheanstalk;
4+
use Pheanstalk\Pheanstalk;
55

66
class BeanstalkdConnector implements ConnectorInterface {
77

0 commit comments

Comments
 (0)