File tree Expand file tree Collapse file tree 7 files changed +6
-13
lines changed
Expand file tree Collapse file tree 7 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 1717 'chunk_index ' => 'chunk_index ' ,
1818 'chunk_total_count ' => 'chunk_total_count ' ,
1919 'chunk_data ' => 'chunk_data ' ,
20- ]
20+ ],
2121];
Original file line number Diff line number Diff line change 22
33namespace CodeCreeper \Chunkify ;
44
5- class ChunkifyPathGenerator
6- {
7-
8- }
5+ class ChunkifyPathGenerator {}
Original file line number Diff line number Diff line change 22
33namespace CodeCreeper \Chunkify ;
44
5- use Illuminate \Contracts \Foundation \CachesRoutes ;
6- use Illuminate \Support \Facades \Route ;
5+ use CodeCreeper \Chunkify \Commands \ChunkifyCommand ;
76use Spatie \LaravelPackageTools \Package ;
87use Spatie \LaravelPackageTools \PackageServiceProvider ;
9- use CodeCreeper \Chunkify \Commands \ChunkifyCommand ;
108
119class ChunkifyServiceProvider extends PackageServiceProvider
1210{
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 55use Illuminate \Database \Eloquent \Model ;
66use Illuminate \Support \Facades \Config ;
77use Illuminate \Support \Facades \Storage ;
8- use Illuminate \Support \Str ;
98
109/**
1110 * @property string $name
Original file line number Diff line number Diff line change 66use Illuminate \Database \Eloquent \Relations \HasMany ;
77use Illuminate \Support \Facades \Config ;
88use Illuminate \Support \Facades \Storage ;
9- use Illuminate \Support \Str ;
109
1110/**
1211 * @property int $id
Original file line number Diff line number Diff line change 22
33namespace CodeCreeper \Chunkify \Tests ;
44
5+ use CodeCreeper \Chunkify \ChunkifyServiceProvider ;
56use Illuminate \Database \Eloquent \Factories \Factory ;
67use Orchestra \Testbench \TestCase as Orchestra ;
7- use CodeCreeper \Chunkify \ChunkifyServiceProvider ;
88
99class TestCase extends Orchestra
1010{
You can’t perform that action at this time.
0 commit comments