Template/Endpoints (Prep)

* modernize DB-Types
   - long term: should be split in class that describes the DB-Type and container class that handles multiples
 * make unchanging filter props static, allow lookup of criteria indizes through filter
 * move username/mail/password checks to util and make them usable as input filter
This commit is contained in:
Sarjuuk
2025-08-06 20:47:20 +02:00
parent 8cf0b6243d
commit aeb84327d6
47 changed files with 1163 additions and 1082 deletions

View File

@@ -160,7 +160,7 @@ class Game
switch (gettype($spell))
{
case 'object':
if (get_class($spell) != __NAMESPACE__.'\SpellList')
if (get_class($spell) != SpellList::class)
return [];
$lookup[] = $spell->id;