Skip to content

Commit fb06bc9

Browse files
committed
Make flysystem jobs not final
1 parent 037509c commit fb06bc9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/batch-league-flysystem/src/CopyFilesJob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* This job allows you to copy files from one filesystem ot another.
2020
*/
21-
final class CopyFilesJob implements JobInterface
21+
class CopyFilesJob implements JobInterface
2222
{
2323
public function __construct(
2424
private JobParameterAccessorInterface $location,
@@ -28,7 +28,7 @@ public function __construct(
2828
) {
2929
}
3030

31-
public function execute(JobExecution $jobExecution): void
31+
final public function execute(JobExecution $jobExecution): void
3232
{
3333
$config = $this->location->get($jobExecution);
3434
if (\is_string($config)) {

src/batch-league-flysystem/src/MoveFilesJob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* This job allows you to move files from one filesystem ot another.
2121
*/
22-
final class MoveFilesJob implements JobInterface
22+
class MoveFilesJob implements JobInterface
2323
{
2424
public function __construct(
2525
private JobParameterAccessorInterface $location,
@@ -29,7 +29,7 @@ public function __construct(
2929
) {
3030
}
3131

32-
public function execute(JobExecution $jobExecution): void
32+
final public function execute(JobExecution $jobExecution): void
3333
{
3434
$config = $this->location->get($jobExecution);
3535
if (\is_string($config)) {

0 commit comments

Comments
 (0)