Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e5c1a59

Browse files
janedbalondrejmirtes
authored andcommitted
NodeScopeResolver::earlyTerminatingMethodNames remove useless default
I just tried running https://github.com/shipmonk-rnd/phpstan-rules#uselessprivatepropertydefaultvalue, nothing else was found.
1 parent 01b4d4e commit e5c1a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Analyser/NodeScopeResolver.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class NodeScopeResolver
184184
private array $analysedFiles = [];
185185

186186
/** @var array<string, true> */
187-
private array $earlyTerminatingMethodNames = [];
187+
private array $earlyTerminatingMethodNames;
188188

189189
/**
190190
* @param string[][] $earlyTerminatingMethodCalls className(string) => methods(string[])

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /