Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d9da76

Browse files
ousidgithub-actions[bot]
authored andcommitted
Fix styling
1 parent9b26f4b commit6d9da76

File tree

10 files changed

+0
-59
lines changed

10 files changed

+0
-59
lines changed

‎src/Concerns/HasCsvProperties.php‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ trait HasCsvProperties
2020

2121
/**
2222
* Read CSV Property
23-
*
24-
* @return Reader
2523
*/
2624
publicfunctiongetReadCsvProperty():Reader
2725
{
@@ -30,8 +28,6 @@ public function getReadCsvProperty(): Reader
3028

3129
/**
3230
* Get CSV Records Property
33-
*
34-
* @return TabularDataReader
3531
*/
3632
publicfunctiongetCsvRecordsProperty():TabularDataReader
3733
{
@@ -40,8 +36,6 @@ public function getCsvRecordsProperty(): TabularDataReader
4036

4137
/**
4238
* Handle CSV Information properties from the given file
43-
*
44-
* @return array|\Illuminate\Support\MessageBag
4539
*/
4640
publicfunctionhandleCsvProperties():array|MessageBag
4741
{

‎src/Concerns/InteractsWithColumns.php‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ trait InteractsWithColumns
66
{
77
/**
88
* Converts the columnsToMap property into an associative array.
9-
*
10-
* @return array
119
*/
1210
protectedfunctionmapThroughColumns():array
1311
{
@@ -22,8 +20,6 @@ protected function mapThroughColumns(): array
2220

2321
/**
2422
* Maps requiredColumns property into columnsToMap required state.
25-
*
26-
* @return array
2723
*/
2824
protectedfunctionmapThroughRequiredColumns():array
2925
{
@@ -39,8 +35,6 @@ protected function mapThroughRequiredColumns(): array
3935

4036
/**
4137
* Maps columnLabels property into columnsToMap label state.
42-
*
43-
* @return array
4438
*/
4539
protectedfunctionmapThroughColumnLabels():array
4640
{

‎src/Concerns/InteractsWithCsvFiles.php‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ trait InteractsWithCsvFiles
88
{
99
/**
1010
* Read CSV File.
11-
*
12-
* @param string $path
13-
* @return Reader
1411
*/
1512
protectedfunctionreadCSV(string$path):Reader
1613
{

‎src/Http/Livewire/CsvImporter.php‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,19 @@ class CsvImporter extends Component
2222
/** @var string */
2323
public$model;
2424

25-
/** @var bool */
2625
publicbool$open =false;
2726

2827
/** @var object */
2928
public$file;
3029

31-
/** @var array */
3230
publicarray$columnsToMap = [];
3331

34-
/** @var array */
3532
publicarray$requiredColumns = [];
3633

37-
/** @var array */
3834
publicarray$columnLabels = [];
3935

40-
/** @var array */
4136
publicarray$fileHeaders = [];
4237

43-
/** @var int */
4438
publicint$fileRowCount =0;
4539

4640
/** @var array */

‎src/LaravelCsvDirectives.php‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ public static function csvStyles(): string|null
2020

2121
/**
2222
* Get CSV Scripts
23-
*
24-
* @return string
2523
*/
2624
publicstaticfunctioncsvScripts():string
2725
{
@@ -32,8 +30,6 @@ public static function csvScripts(): string
3230

3331
/**
3432
* Get Tailwind Style Path
35-
*
36-
* @return string
3733
*/
3834
protectedstaticfunctiongetTailwindStyle():string
3935
{

‎src/LaravelCsvManager.php‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ class LaravelCsvManager
66
{
77
/**
88
* Get the given size and formated it.
9-
*
10-
* @param int $size
11-
* @param int $precision
12-
* @return string|int
139
*/
1410
publicfunctionformatFileSize(int$size,int$precision =2):string|int
1511
{

‎src/LaravelCsvServiceProvider.php‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ public function registeringPackage()
4343

4444
/**
4545
* Configure Laravel CSV Blade components
46-
*
47-
* @return void
4846
*/
4947
protectedfunctionconfigureComponents():void
5048
{
@@ -55,8 +53,6 @@ protected function configureComponents(): void
5553

5654
/**
5755
* Register livewire components
58-
*
59-
* @return void
6056
*/
6157
protectedfunctionregisterLivewireComponents():void
6258
{
@@ -69,9 +65,6 @@ protected function registerLivewireComponents(): void
6965

7066
/**
7167
* Register given component.
72-
*
73-
* @param string $component
74-
* @return void
7568
*/
7669
protectedfunctionregisterComponent(string$component):void
7770
{

‎src/Scopes/ImportScope.php‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ trait ImportScope
99
{
1010
/**
1111
* Completed Status Scope
12-
*
13-
* @return \Illuminate\Database\Eloquent\Builder
1412
*/
1513
publicfunctionscopeCompleted(Builder$builder):Builder
1614
{
@@ -19,8 +17,6 @@ public function scopeCompleted(Builder $builder): Builder
1917

2018
/**
2119
* Not Completed Status Scope
22-
*
23-
* @return \Illuminate\Database\Eloquent\Builder
2420
*/
2521
publicfunctionscopeUnCompleted(Builder$builder):Builder
2622
{
@@ -29,8 +25,6 @@ public function scopeUnCompleted(Builder $builder): Builder
2925

3026
/**
3127
* Get the percentage of the model completion
32-
*
33-
* @return int|float
3428
*/
3529
publicfunctionpercentageComplete():int|float
3630
{
@@ -39,9 +33,6 @@ public function percentageComplete(): int|float
3933

4034
/**
4135
* Fetch imports based on the given model
42-
*
43-
* @param string $model
44-
* @return \Illuminate\Database\Eloquent\Builder
4536
*/
4637
publicfunctionscopeForModel(Builder$builder,string$model):Builder
4738
{
@@ -50,9 +41,6 @@ public function scopeForModel(Builder $builder, string $model): Builder
5041

5142
/**
5243
* Fetch imports on the user id
53-
*
54-
* @param int $user
55-
* @return \Illuminate\Database\Eloquent\Builder
5644
*/
5745
publicfunctionscopeForUser(Builder$builder,int$user):Builder
5846
{

‎src/Utilities/ChunkIterator.php‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,8 @@
1818
*/
1919
class ChunkIterator
2020
{
21-
/**
22-
* @var Iterator
23-
*/
2421
protectedIterator$iterator;
2522

26-
/**
27-
* @var int
28-
*/
2923
protectedint$chunkSize;
3024

3125
publicfunction__construct(Iterator$iterator,int$chunkSize)
@@ -36,8 +30,6 @@ public function __construct(Iterator $iterator, int $chunkSize)
3630

3731
/**
3832
* Chunk the given data
39-
*
40-
* @return Generator
4133
*/
4234
publicfunctionget():Generator
4335
{

‎src/helpers.php‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
if (!function_exists('Coderflex\LaravelCsv\csv_view_path')) {
66
/**
77
* Get the evaluated view content from the livewire view
8-
*
9-
* @param string|null $view
10-
* @return string
118
*/
129
functioncsv_view_path(string|null$view):string
1310
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp