mirror of
https://github.com/itflow-org/itflow
synced 2026-08-17 13:05:12 +00:00
Allow PHP-8.2 and up Compatibility instead of just PHP-8.4
This commit is contained in:
@@ -94,7 +94,7 @@ class StreamedJsonResponse extends StreamedResponse
|
||||
{
|
||||
$generators = [];
|
||||
|
||||
array_walk_recursive($data, function (&$item, $key) use (&$generators) {
|
||||
array_walk_recursive($data, static function (&$item, $key) use (&$generators) {
|
||||
if (self::PLACEHOLDER === $key) {
|
||||
// if the placeholder is already in the structure it should be replaced with a new one that explode
|
||||
// works like expected for the structure
|
||||
|
||||
Reference in New Issue
Block a user