2.0.3 (2022-09-12)

- Update composer packages
- Added WoodpeckerCI tests
- Updated links in composer package
- Stricter typing
This commit is contained in:
idanoo 2022-09-12 19:50:02 +12:00
parent f9a22e7b8a
commit 05cae402b5
Signed by: idanoo
GPG key ID: 387387CDBC02F132
21 changed files with 215 additions and 524 deletions

View file

@ -16,9 +16,10 @@ class Stat
* Get the value of the supplied statistic counter for the specified statistic.
*
* @param string $stat The name of the statistic to get the stats for.
* @return mixed Value of the statistic.
*
* @return int Value of the statistic.
*/
public static function get($stat): int
public static function get(string $stat): int
{
return (int)Resque::redis()->get('stat:' . $stat);
}