mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user