mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix return type of QueueInterface::getInstance()
This commit is contained in:
parent
4b0b485a13
commit
29837bdf4c
4 changed files with 8 additions and 8 deletions
|
|
@ -14,9 +14,9 @@ class DB 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue