Skip to content

Commit 8b7664b

Browse files
code-creepergithub-actions[bot]
authored andcommitted
Fix styling
1 parent 456e8f9 commit 8b7664b

File tree

7 files changed

+6
-13
lines changed

7 files changed

+6
-13
lines changed

config/chunkify.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
'chunk_index' => 'chunk_index',
1818
'chunk_total_count' => 'chunk_total_count',
1919
'chunk_data' => 'chunk_data',
20-
]
20+
],
2121
];

src/ChunkifyPathGenerator.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@
22

33
namespace CodeCreeper\Chunkify;
44

5-
class ChunkifyPathGenerator
6-
{
7-
8-
}
5+
class ChunkifyPathGenerator {}

src/ChunkifyServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
namespace CodeCreeper\Chunkify;
44

5-
use Illuminate\Contracts\Foundation\CachesRoutes;
6-
use Illuminate\Support\Facades\Route;
5+
use CodeCreeper\Chunkify\Commands\ChunkifyCommand;
76
use Spatie\LaravelPackageTools\Package;
87
use Spatie\LaravelPackageTools\PackageServiceProvider;
9-
use CodeCreeper\Chunkify\Commands\ChunkifyCommand;
108

119
class ChunkifyServiceProvider extends PackageServiceProvider
1210
{

src/Controllers/ChunkifyController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function __invoke(Request $request): JsonResponse
6060
$chunkifyChunk = $chunkifyFile->chunks()->create([
6161
'index' => $index,
6262
'disk' => $chunkDisk,
63-
'name' => $index . '_' . Str::random(),
63+
'name' => $index.'_'.Str::random(),
6464
]);
6565

6666
if ($data instanceof UploadedFile) {
@@ -106,7 +106,7 @@ public function __invoke(Request $request): JsonResponse
106106
DB::commit();
107107

108108
return Response::json([
109-
'completed' => $chunkifyFile->completed
109+
'completed' => $chunkifyFile->completed,
110110
]);
111111
}
112112
}

src/Models/ChunkifyChunk.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Illuminate\Database\Eloquent\Model;
66
use Illuminate\Support\Facades\Config;
77
use Illuminate\Support\Facades\Storage;
8-
use Illuminate\Support\Str;
98

109
/**
1110
* @property string $name

src/Models/ChunkifyFile.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Illuminate\Database\Eloquent\Relations\HasMany;
77
use Illuminate\Support\Facades\Config;
88
use Illuminate\Support\Facades\Storage;
9-
use Illuminate\Support\Str;
109

1110
/**
1211
* @property int $id

tests/TestCase.php

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

33
namespace CodeCreeper\Chunkify\Tests;
44

5+
use CodeCreeper\Chunkify\ChunkifyServiceProvider;
56
use Illuminate\Database\Eloquent\Factories\Factory;
67
use Orchestra\Testbench\TestCase as Orchestra;
7-
use CodeCreeper\Chunkify\ChunkifyServiceProvider;
88

99
class TestCase extends Orchestra
1010
{

0 commit comments

Comments
 (0)