Skip to content

Commit e67f75a

Browse files
committed
Apply fixes from StyleCI
1 parent 4b09333 commit e67f75a

File tree

7 files changed

+12
-3
lines changed

7 files changed

+12
-3
lines changed

src/Generators/DataTablesHtmlCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class DataTablesHtmlCommand extends DataTablesMakeCommand
3838
*
3939
* @param string $name
4040
* @return string
41+
*
4142
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
4243
*/
4344
protected function buildClass($name)

src/Generators/DataTablesMakeCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public function handle()
6262
*
6363
* @param string $name
6464
* @return string
65+
*
6566
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
6667
*/
6768
protected function buildClass($name)

src/Html/DataTableHtml.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ abstract class DataTableHtml implements DataTableHtmlBuilder
1717

1818
/**
1919
* @return \Yajra\DataTables\Html\Builder
20+
*
2021
* @throws \Exception
2122
*/
2223
public static function make(): Builder

src/Services/DataTable.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ abstract class DataTable implements DataTableButtons
2828
* DataTables print preview view.
2929
*
3030
* @phpstan-var view-string
31+
*
3132
* @var string
3233
*/
3334
protected string $printPreview = 'datatables::print';
@@ -191,6 +192,7 @@ public function __construct()
191192
* Process dataTables needed render output.
192193
*
193194
* @phpstan-param view-string $view
195+
*
194196
* @param string $view
195197
* @param array $data
196198
* @param array $mergeData
@@ -441,6 +443,7 @@ public function response(callable $callback): static
441443
* Export results to Excel file.
442444
*
443445
* @return string|\Symfony\Component\HttpFoundation\BinaryFileResponse|\Symfony\Component\HttpFoundation\StreamedResponse
446+
*
444447
* @throws \Exception
445448
*/
446449
public function excel()
@@ -465,6 +468,7 @@ public function excel()
465468
* Build Excel file and prepare for export.
466469
*
467470
* @return mixed|FastExcel
471+
*
468472
* @throws \Exception
469473
*/
470474
protected function buildExcelFile()
@@ -572,6 +576,7 @@ private function toColumnsCollection(array $columns): Collection
572576
* Export results to CSV file.
573577
*
574578
* @return string|\Symfony\Component\HttpFoundation\StreamedResponse
579+
*
575580
* @throws \Exception
576581
*/
577582
public function csv()
@@ -595,6 +600,7 @@ public function csv()
595600
* Export results to PDF file.
596601
*
597602
* @return \Illuminate\Http\Response|string|\Symfony\Component\HttpFoundation\StreamedResponse
603+
*
598604
* @throws \Box\Spout\Common\Exception\IOException
599605
* @throws \Box\Spout\Common\Exception\InvalidArgumentException
600606
* @throws \Box\Spout\Common\Exception\UnsupportedTypeException

tests/DataTableServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ protected function setUp(): void
2929
return $dataTable->render('tests::users');
3030
});
3131
}
32-
}
32+
}

tests/DataTables/UsersDataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ protected function filename(): string
3838
{
3939
return 'Users';
4040
}
41-
}
41+
}

tests/Providers/TestServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ public function boot()
1010
{
1111
$this->loadViewsFrom(__DIR__.'/../views', 'tests');
1212
}
13-
}
13+
}

0 commit comments

Comments
 (0)