From 4cce74e9f852947858072509b365e5bf25bacb76 Mon Sep 17 00:00:00 2001 From: Banana Date: Sat, 12 Nov 2022 13:14:35 +0100 Subject: [PATCH] version 1.0 --- CHANGELOG | 4 ++-- documentation/clients.txt | 3 +++ webroot/lib/summoner.class.php | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 documentation/clients.txt diff --git a/CHANGELOG b/CHANGELOG index d1ddeba..da91393 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,2 +1,2 @@ -1.0 Lykos - - + Initial release +1.0 Lykos - 2022-11-12 + - Initial release diff --git a/documentation/clients.txt b/documentation/clients.txt new file mode 100644 index 0000000..25d14b8 --- /dev/null +++ b/documentation/clients.txt @@ -0,0 +1,3 @@ +Work in progress. + +Currently there is go client in the works. diff --git a/webroot/lib/summoner.class.php b/webroot/lib/summoner.class.php index 1fba426..cf79fdd 100644 --- a/webroot/lib/summoner.class.php +++ b/webroot/lib/summoner.class.php @@ -38,7 +38,7 @@ class Summoner { * the replace should be empty, otherwise are there chars which are not * allowed */ - static function validate(string $input, $mode='text', $limit=false): bool { + static function validate(string $input, string $mode='text', mixed $limit=false): bool { // check if we have input $input = trim($input); -- 2.39.5