In any case, that's where the problem is: the error says that you can't use the operand + for the ex...
Try ['' => 'something'] + Code::getList('abc').toArray(). The problem is that you can't "sum...
The Laravel portal for problem solving, knowledge sharing and community building.
The community