From 11f93f44b024c4c818ae93d9e8067c10ddd4ef2a Mon Sep 17 00:00:00 2001 From: Valithor Obsidion Date: Fri, 27 Dec 2024 11:11:28 -0500 Subject: [PATCH] Removed typed self returns from interface This is due to how the self keyword is interpreted in different contexts --- src/Discord/Repository/AbstractRepositoryInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord/Repository/AbstractRepositoryInterface.php b/src/Discord/Repository/AbstractRepositoryInterface.php index 7abdbca78..d64917a73 100644 --- a/src/Discord/Repository/AbstractRepositoryInterface.php +++ b/src/Discord/Repository/AbstractRepositoryInterface.php @@ -31,7 +31,7 @@ public function cacheGet($offset): PromiseInterface; public function set($offset, $value); public function pull($key, $default = null); public function cachePull($key, $default = null): PromiseInterface; - public function pushItem($item): self; + public function pushItem($item); public function first(); public function last(); public function has(...$keys): bool;