Fix return type of QueueInterface::getInstance()

This commit is contained in:
Kijin Sung 2024-10-11 23:38:29 +09:00
parent 4b0b485a13
commit 29837bdf4c
4 changed files with 8 additions and 8 deletions

View file

@ -19,9 +19,9 @@ class Redis implements QueueInterface
* Create a new instance of the current Queue driver, using the given settings.
*
* @param array $config
* @return void
* @return QueueInterface
*/
public static function getInstance(array $config): self
public static function getInstance(array $config): QueueInterface
{
return new self($config);
}