Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 192618b890 - Show all commits

View File

@ -87,7 +87,7 @@ class Model {
*/ */
public function getUserIdByUsername(string $username) public function getUserIdByUsername(string $username)
{ {
$cacheItem = $this->cache->getItem($this->getHashForMethodCall($this, __METHOD__, $username)); $cacheItem = $this->cache->getItem($this->getHashForMethodCall($this, __METHOD__, [$username]));
if ( ! $cacheItem->isHit()) if ( ! $cacheItem->isHit())
{ {