Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jul 29, 2021
1 parent 092d8e3 commit 0471f87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Dependency/ExportedNode/ExportedClassConstantNode.php
Expand Up @@ -83,7 +83,7 @@ public static function decode(array $data): ExportedNode
$data['public'],
$data['private'],
$data['final'],
$data['phpDoc'],
$data['phpDoc'] !== null ? ExportedPhpDocNode::decode($data['phpDoc']['data']) : null
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Dependency/ExportedNodeResolver.php
Expand Up @@ -213,7 +213,7 @@ public function resolve(string $fileName, \PhpParser\Node $node): ?ExportedNode
$classNode->namespacedName->toString(),
null,
$docComment !== null ? $docComment->getText() : null
),
)
);
}

Expand Down

0 comments on commit 0471f87

Please sign in to comment.