Skip to content

Commit 920b654

Browse files
authored
Merge pull request #499 from dbarzin/dev
code quality
2 parents 33320e0 + d248bcb commit 920b654

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

app/Exports/DomainsExport.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ public function headings(): array
2222
];
2323
}
2424

25-
public function styles(Worksheet $worksheet)
25+
public function styles(Worksheet $_worksheet)
2626
{
27-
// fix unused
28-
$worksheet;
2927
return [
3028
// Style the first row as bold text.
3129
1 => ['font' => ['bold' => true]],
@@ -40,9 +38,6 @@ public function columnWidths(): array
4038
];
4139
}
4240

43-
/**
44-
* @var Domain $domain
45-
*/
4641
public function map($domain): array
4742
{
4843
return [
@@ -53,7 +48,7 @@ public function map($domain): array
5348
}
5449

5550
/**
56-
* @return \Illuminate\Support\Collection
51+
* @return \Illuminate\Database\Query\Builder
5752
*/
5853
public function query()
5954
{

0 commit comments

Comments
 (0)