1
0
Fork 0
mirror of synced 2024-09-21 03:52:23 +12:00

Updated session

This commit is contained in:
Eldad Fux 2020-06-24 09:41:00 +03:00
parent dd2c6efbc9
commit 228b2ec506

View file

@ -9,6 +9,13 @@ class Session extends Model
{
public function __construct()
{
$this->addRule('roles', [
'type' => 'string',
'description' => 'User list of roles',
'default' => [],
'example' => [],
'array' => true,
]);
}
/**
@ -28,6 +35,6 @@ class Session extends Model
*/
public function getType():string
{
return Response::MODEL_LOCALE;
return Response::MODEL_SESSION;
}
}