Skip to content

Commit 0471f87

Browse files
committed
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)