You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
Yes, it's still reproducable
What version of Laravel Excel are you using?
3.1.62
What version of Laravel are you using?
11.42.0
What version of PHP are you using?
8.2
Describe your issue
So the docs tell me to use collection transform on the $rows variable, but I'm getting an error saying it's an array ? But if I try using array_map on it, then I get an error telling me it's a collection...
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1.62
What version of Laravel are you using?
11.42.0
What version of PHP are you using?
8.2
Describe your issue
So the docs tell me to use collection transform on the $rows variable, but I'm getting an error saying it's an array ? But if I try using array_map on it, then I get an error telling me it's a collection...
When I use
$rows->tranform
:If I try to use
array_map(func, $rows)
:How can the issue be reproduced?
This was the simplest example I could setup:
I'm open to making a full scenario if theres a default sandbox tool I can use, but I want to make sure I'm not simply holding it wrong first.
What should be the expected behaviour?
The transform method should work on
$rows
.The text was updated successfully, but these errors were encountered: