File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <files psalm-version =" 3.11.4@58e1d8e68e5098bf4fbfdfb420c38d563f882549 " >
2+ <files psalm-version =" 3.11.5@3c60609c218d4d4b3b257728b8089094e5c6c6c2 " >
33 <file src =" src/CodeCoverage.php" >
44 <ArgumentTypeCoercion occurrences =" 2" >
55 <code >$unit[0]</code >
2727 <PossiblyNullPropertyAssignmentValue occurrences =" 1" >
2828 <code >$parent</code >
2929 </PossiblyNullPropertyAssignmentValue >
30- <TypeDoesNotContainNull occurrences =" 1" >
31- <code >$this-> parent-> getPath() === null</code >
32- </TypeDoesNotContainNull >
33- <TypeDoesNotContainType occurrences =" 1" >
34- <code >$this-> parent-> getPath() === false</code >
35- </TypeDoesNotContainType >
36- <UndefinedMethod occurrences =" 1" >
37- <code >getMethods</code >
38- </UndefinedMethod >
3930 </file >
4031 <file src =" src/Node/Builder.php" >
4132 <EmptyArrayAccess occurrences =" 1" >
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public function id(): string
8080 public function pathAsString (): string
8181 {
8282 if ($ this ->path === null ) {
83- if ($ this ->parent === null || $ this -> parent -> pathAsString () === null || $ this -> parent -> pathAsString () === false ) {
83+ if ($ this ->parent === null ) {
8484 $ this ->path = $ this ->name ;
8585 } else {
8686 $ this ->path = $ this ->parent ->pathAsString () . \DIRECTORY_SEPARATOR . $ this ->name ;
You can’t perform that action at this time.
0 commit comments