mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
Extend IHandleUserSessions
from IHandleSessions
and adapt classes
This commit is contained in:
parent
b72d727a06
commit
b5bc1b0844
14 changed files with 165 additions and 138 deletions
|
@ -22,6 +22,7 @@
|
|||
namespace Friendica;
|
||||
|
||||
use Dice\Dice;
|
||||
use Friendica\Core\Session\Capability\IHandleSessions;
|
||||
use Friendica\Core\Session\Capability\IHandleUserSessions;
|
||||
use Friendica\Navigation\SystemMessages;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
@ -212,10 +213,7 @@ abstract class DI
|
|||
return self::$dice->create(Core\Worker\Repository\Process::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Core\Session\Capability\IHandleSessions
|
||||
*/
|
||||
public static function session()
|
||||
public static function session(): IHandleSessions
|
||||
{
|
||||
return self::$dice->create(Core\Session\Capability\IHandleSessions::class);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue