Skip to content

Commit

Permalink
minor: make php-parser.php functions internal (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Korbeil authored May 17, 2024
2 parents ed177ce + fbdfd17 commit b05b1a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/php-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
*
* @param int $value Value of the number
* @param array<string, mixed> $attributes Additional attributes
*
* @internal
*/
function create_scalar_int(int $value, array $attributes = []): Scalar\Int_|Scalar\LNumber
{
Expand All @@ -32,6 +34,8 @@ function create_scalar_int(int $value, array $attributes = []): Scalar\Int_|Scal
* @param Expr|null $key Key
* @param bool $byRef Whether to assign by reference
* @param array<string, mixed> $attributes Additional attributes
*
* @internal
*/
function create_expr_array_item(Expr $value, Expr $key = null, bool $byRef = false, array $attributes = [], bool $unpack = false): Node\ArrayItem|Expr\ArrayItem
{
Expand Down

0 comments on commit b05b1a9

Please sign in to comment.