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 0471f87

Browse files
Fix
1 parent 092d8e3 commit 0471f87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/Dependency/ExportedNode/ExportedClassConstantNode.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public static function decode(array $data): ExportedNode
8383
$data['public'],
8484
$data['private'],
8585
$data['final'],
86-
$data['phpDoc'],
86+
$data['phpDoc'] !== null ? ExportedPhpDocNode::decode($data['phpDoc']['data']) : null
8787
);
8888
}
8989

‎src/Dependency/ExportedNodeResolver.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public function resolve(string $fileName, \PhpParser\Node $node): ?ExportedNode
213213
$classNode->namespacedName->toString(),
214214
null,
215215
$docComment !== null ? $docComment->getText() : null
216-
),
216+
)
217217
);
218218
}
219219

0 commit comments

Comments
(0)

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