Skip to content

Commit d1f1444

Browse files
committed
Merge branch 'master' of github.com:spatie/laravel-queueable-action
2 parents f252e56 + 34d7a92 commit d1f1444

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

src/ActionJob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
namespace Spatie\QueueableAction;
44

55
use Illuminate\Bus\Queueable;
6+
use Illuminate\Queue\SerializesModels;
7+
use Illuminate\Queue\InteractsWithQueue;
68
use Illuminate\Contracts\Queue\ShouldQueue;
79
use Illuminate\Foundation\Bus\Dispatchable;
8-
use Illuminate\Queue\InteractsWithQueue;
9-
use Illuminate\Queue\SerializesModels;
1010

1111
class ActionJob implements ShouldQueue
1212
{

src/QueueableAction.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ public function onQueue(bool $useQueue = true)
1414
}
1515

1616
/** @var self $class */
17-
$class = new class($this)
18-
{
17+
$class = new class($this) {
1918
protected $action;
2019

2120
public function __construct(object $action)

tests/QueueableActionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
use Illuminate\Support\Facades\Queue;
66
use Spatie\QueueableAction\ActionJob;
7-
use Spatie\QueueableAction\Tests\TestClasses\ComplexAction;
87
use Spatie\QueueableAction\Tests\TestClasses\DataObject;
98
use Spatie\QueueableAction\Tests\TestClasses\SimpleAction;
9+
use Spatie\QueueableAction\Tests\TestClasses\ComplexAction;
1010

1111
class QueueableActionTest extends TestCase
1212
{

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class TestCase extends OrchestraTestCase
88
{
9-
const LOG_PATH = __DIR__ . '/temp/queue.log';
9+
const LOG_PATH = __DIR__.'/temp/queue.log';
1010

1111
protected function setUp()
1212
{

tests/TestClasses/ComplexAction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Spatie\QueueableAction\Tests\TestClasses;
44

5-
use Spatie\QueueableAction\QueueableAction;
65
use Spatie\QueueableAction\Tests\TestCase;
6+
use Spatie\QueueableAction\QueueableAction;
77

88
class ComplexAction
99
{
@@ -24,7 +24,7 @@ public function execute(DataObject $dataObject)
2424
{
2525
file_put_contents(
2626
TestCase::LOG_PATH,
27-
$dataObject->foo . ' ' . $this->dependencyObject->bar
27+
$dataObject->foo.' '.$this->dependencyObject->bar
2828
);
2929
}
3030
}

0 commit comments

Comments
 (0)