Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

[$key] struct is not present in the code; the code only has (return data[$key] ?? defaultValue;, Storage at line 120: return data[$key] ?? defaultValue;,  Storage at line 123: data[$key] = value; )

(+1)
  1. It is,
    return data[$key] ?? defaultValue;
    
    should be
    return data[$ key] ?? defaultValue;
    
  2. This does not prevent the server from working, double-check that you’re using it correctly and the common troubleshooting steps.