Skip to content

Commit 3573089

Browse files
committed
Return type fixed
1 parent 1261647 commit 3573089

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Exports/Export.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace TypiCMS\Modules\Projects\Exports;
44

55
use Illuminate\Database\Eloquent\Collection;
6-
use Illuminate\Database\Eloquent\Model;
76
use Maatwebsite\Excel\Concerns\FromCollection;
87
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
98
use Maatwebsite\Excel\Concerns\WithColumnFormatting;
@@ -21,7 +20,7 @@
2120
*/
2221
class Export implements FromCollection, ShouldAutoSize, WithColumnFormatting, WithHeadings, WithMapping
2322
{
24-
/** @return Collection<int, Model> */
23+
/** @return Collection<int, Project> */
2524
public function collection(): Collection
2625
{
2726
return QueryBuilder::for(Project::class)

0 commit comments

Comments
 (0)