Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPstan message about Yajra DataTables. #331

Closed
pacoorozco opened this issue Jun 12, 2022 · 0 comments · Fixed by #332
Closed

PHPstan message about Yajra DataTables. #331

pacoorozco opened this issue Jun 12, 2022 · 0 comments · Fixed by #332

Comments

@pacoorozco
Copy link
Owner

Is your feature request related to a problem? Please describe.

Note: Using configuration file /home/public/web/ssham/phpstan.neon.
 170/170 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ------------------------------------------------------------------------------------------------------------------------------------------------ 
  Line   app/Http/Controllers/AuditDataTablesController.php                                                                                              
 ------ ------------------------------------------------------------------------------------------------------------------------------------------------ 
  30     Parameter #1 $collection of method Yajra\DataTables\DataTables::collection() expects array|Illuminate\Support\Collection<(int|string), array>,  
         Illuminate\Database\Eloquent\Collection<int, App\Models\Activity> given.                                                                        
 ------ ------------------------------------------------------------------------------------------------------------------------------------------------ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant