Skip to content

Commit

Permalink
Removed typed self returns from interface
Browse files Browse the repository at this point in the history
This is due to how the self keyword is interpreted in different contexts
  • Loading branch information
valzargaming committed Dec 27, 2024
1 parent 6cde2ce commit 11f93f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord/Repository/AbstractRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 11f93f4

Please sign in to comment.