From f57c24abe4582a282433d254ae4e1e45a7368137 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Thu, 26 Jan 2017 13:06:35 -0500 Subject: [PATCH] Make sure to pass the correct arguments to the cache hash method --- src/API/Kitsu/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API/Kitsu/Model.php b/src/API/Kitsu/Model.php index 9f4d9a93..0d1a0c02 100644 --- a/src/API/Kitsu/Model.php +++ b/src/API/Kitsu/Model.php @@ -87,7 +87,7 @@ class Model { */ 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()) {