improve code in controller and form request for V3 whit pint package
This commit is contained in:
@@ -17,7 +17,7 @@ use PhpOffice\PhpSpreadsheet\Worksheet\Drawing;
|
||||
|
||||
class CountryCartableReport implements FromView, ShouldAutoSize, WithEvents, WithDrawings
|
||||
{
|
||||
public function __construct(private Collection $data){}
|
||||
public function __construct(private array $data){}
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ use PhpOffice\PhpSpreadsheet\Worksheet\Drawing;
|
||||
|
||||
class ProvinceCartableReport implements FromView, ShouldAutoSize, WithEvents, WithDrawings
|
||||
{
|
||||
public function __construct(private Collection $data){}
|
||||
public function __construct(private array $data){}
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user