Skip to content

fix fn() => __FUNCTION__ and __METHOD__#2934

Merged
ondrejmirtes merged 1 commit intophpstan:1.10.xfrom
schlndh:fix-arrowFnFunctionMethodConstant
Feb 23, 2024
Merged

fix fn() => __FUNCTION__ and __METHOD__#2934
ondrejmirtes merged 1 commit intophpstan:1.10.xfrom
schlndh:fix-arrowFnFunctionMethodConstant

Conversation

@schlndh
Copy link
Copy Markdown
Contributor

@schlndh schlndh commented Feb 23, 2024

$arrowFunctionScope->conditionalExpressions,
$arrowFunctionScope->inClosureBindScopeClasses,
null,
new TrivialParametersAcceptor(),
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enterAnonymousFunctionWithoutReflection uses the same thing.

@ondrejmirtes ondrejmirtes merged commit 58ebacf into phpstan:1.10.x Feb 23, 2024
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

@schlndh schlndh deleted the fix-arrowFnFunctionMethodConstant branch February 23, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants