Skip to content

Commit

Permalink
Add parser internal annotations for internal properties
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Sep 27, 2024
1 parent 6ea5f0a commit 6b8c229
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ final class Parser implements ParserInterface
*
* @var \WeakMap<TokenInterface, StringLiteralNode>
*
* @api
* @api an annotation for another PhpStorm bug fix...
* @internal ...but it is truly an internal property
*/
protected readonly \WeakMap $stringPool;

Expand All @@ -64,7 +65,8 @@ final class Parser implements ParserInterface
*
* @var \WeakMap<TokenInterface, IntLiteralNode>
*
* @api
* @api an annotation for another PhpStorm bug fix...
* @internal ...but it is truly an internal property
*/
protected readonly \WeakMap $integerPool;

Expand Down

0 comments on commit 6b8c229

Please sign in to comment.