Skip to content

Conversation

@code23-barna
Copy link
Contributor

Error message:

Column::callback(): Argument #1 ($columns) must be of type string, array given

Issue:

In src/Column.php:118 you set the type to "string" when it should be Array|String

@code23-barna
Copy link
Contributor Author

To reproduce the issue use something like this in your columns() method:

 Column::callback(['id', 'title'], function ($id, $title) {
    return $id.': '.$title;
});

@thyseus thyseus merged commit 0b1068c into MedicOneSystems:master Mar 23, 2022
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 this pull request may close these issues.

2 participants