Skip to content

Commit

Permalink
chore: undeprecate positive_int() (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosprotung committed Jan 26, 2023
1 parent 33496f6 commit eacc90c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/component/type.md
Expand Up @@ -44,7 +44,7 @@
- [num](./../../src/Psl/Type/num.php#L10)
- [object](./../../src/Psl/Type/object.php#L10)
- [optional](./../../src/Psl/Type/optional.php#L14)
- [positive_int](./../../src/Psl/Type/positive_int.php#L12) ( deprecated )
- [positive_int](./../../src/Psl/Type/positive_int.php#L12)
- [resource](./../../src/Psl/Type/resource.php#L12)
- [scalar](./../../src/Psl/Type/scalar.php#L10)
- [shape](./../../src/Psl/Type/shape.php#L15)
Expand Down
2 changes: 1 addition & 1 deletion src/Psl/Type/positive_int.php
Expand Up @@ -7,7 +7,7 @@
/**
* @return TypeInterface<positive-int>
*
* @deprecated use {@see uint} instead.
* @ara-return TypeInterface<0|uint>
*/
function positive_int(): TypeInterface
{
Expand Down

0 comments on commit eacc90c

Please sign in to comment.