MedicOneSystems / MedicOneSystems/livewire-datatables
Column::callback(): Argument #1 ($columns) must be of type string, array given
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.2k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
In src/Column.php:118 you set the type to "string" when it should be Array|String
Raised a PR to fix it: https://github.com/MedicOneSystems/livewire-datatables/pull/428
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/Column.php:118 and inspect the callback argument type. Review pull request #428 to understand the proposed fix, then verify that passing an array no longer produces the reported type error and that string input remains supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 20/100