1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 07:44:04 +00:00

revert return style

This commit is contained in:
Abrar Ahmad 2022-11-09 14:17:51 +05:00
parent 7fa024790e
commit 6e966ce974

View file

@ -927,7 +927,8 @@ class TenantUserProvidingDefaultValues extends ResourceUser
{
public function getSyncedCreationAttributes(): array
{
return [
return
[
'name' => 'Default Name',
'email' => 'default@localhost',
'password' => 'password',
@ -941,7 +942,8 @@ class TenantUserProvidingAttributeNames extends ResourceUser
{
public function getSyncedCreationAttributes(): array
{
return [
return
[
'name',
'password',
'email',
@ -956,11 +958,12 @@ class TenantUserProvidingMixture extends ResourceUser
{
public function getSyncedCreationAttributes(): array
{
return [
'name',
'email',
return
[
'name' => 'Default User',
'email' => 'default@localhost',
'password' => 'password',
'role' => 'admin',
'password' => 'secret',
];
}
}
@ -969,11 +972,13 @@ class CentralUserProvidingDefaultValues extends CentralUser
{
public function getSyncedCreationAttributes(): array
{
return [
'name' => 'Default User',
'email' => 'default@localhost',
'password' => 'password',
'role' => 'admin',
return
[
'global_id',
'name',
'password',
'email',
'role',
];
}
}