Closed Fludem closed 2 months ago
The header function inside the JsonResponse class expects array|null|string and previously we were passing an integer.
I see little reason in not sticking to the variable types defined in the json response's set function.
Pedantic change but strict types can now be used
The header function inside the JsonResponse class expects array|null|string and previously we were passing an integer.
I see little reason in not sticking to the variable types defined in the json response's set function.
Pedantic change but strict types can now be used