We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RouteTags::createFromArray is implemented as
public static function createFromArray(array $tags): self { array_walk($tags, 'static::validateTag'); return new static($tags); }
This throws the following deprecation error using PHP 8.2: Use of "static" in callables is deprecated
no deprecation errors :)
call RouteTags::createFromArray
- Flow: 9.0 - PHP: 8.2
No response
The text was updated successfully, but these errors were encountered:
Link: https://github.com/neos/flow-development-collection/blob/4358297c60a0b6266900e447757a3de2388b2fb8/Neos.Flow/Classes/Mvc/Routing/Dto/RouteTags.php#L74C28-L74C34
array_walk($tags, static::validateTag(...)); should do, but id actually prefer a simple for each 😅
array_walk($tags, static::validateTag(...));
Sorry, something went wrong.
BUGFIX: Prevent deprecation warning in RouteTags::createFromArray()
RouteTags::createFromArray()
70f7148
Fixes: #3120
FYI: I just opened up the WEB IDE and did the fix, it was almost faster than writing a comment :) => #3156
Hahaha thännks ^^
robertlemke
fcool
No branches or pull requests
Is there an existing issue for this?
Current Behavior
RouteTags::createFromArray is implemented as
This throws the following deprecation error using PHP 8.2: Use of "static" in callables is deprecated
Expected Behavior
no deprecation errors :)
Steps To Reproduce
call RouteTags::createFromArray
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: