Skip to content

Commit 0c097f9

Browse files
committed
Shortnum 1.0.0
1 parent 0d43ae5 commit 0c097f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Helpers for PHP.
1+
# Helpers for PHP ≥ 7.4
22

33
> A helper library that includes all my helpers in one package for PHP.
44
@@ -15,7 +15,7 @@ Includes the following helpers:
1515
- [Mem](https://github.com/nabeghe/mem-php) <small>v1.2.0</small>
1616
- [Reflecty](https://github.com/nabeghe/reflecty-php) <small>v0.3.0</small>
1717
- [Servery](https://github.com/nabeghe/servery-php) <small>v0.1.1</small>
18-
- [Shortnum](https://github.com/nabeghe/shortnum-php) <small>v0.1.0</small>
18+
- [Shortnum](https://github.com/nabeghe/shortnum-php) <small>v1.0.0</small>
1919
- [SimpleCipher](https://github.com/nabeghe/simple-cipher-php) <small>v1.0.0</small>
2020
- [Stringer](https://github.com/nabeghe/stringer-php) <small>v1.1.3</small>
2121
- [Tepade](https://github.com/nabeghe/tepade-php) <small>v1.0.0</small>

src/Shortnum/Shortnum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Shortnum
88
/**
99
* Supported units.
1010
*/
11-
public const UNITS = [
11+
const UNITS = [
1212
'', 'K', 'M', 'B', 'T', 'Qa', 'Qi', 'Sx', 'Sp', 'Oc', 'No', 'Dc', 'Ud', 'Dd', 'Td', 'Qa', 'Qi', 'Sx', 'Sp',
1313
'Oc', 'No',
1414
];

0 commit comments

Comments
 (0)