1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 20:34:03 +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,13 +927,14 @@ class TenantUserProvidingDefaultValues extends ResourceUser
{ {
public function getSyncedCreationAttributes(): array public function getSyncedCreationAttributes(): array
{ {
return [ return
'name' => 'Default Name', [
'email' => 'default@localhost', 'name' => 'Default Name',
'password' => 'password', 'email' => 'default@localhost',
'role' => 'admin', 'password' => 'password',
'foo' => 'bar' 'role' => 'admin',
]; 'foo' => 'bar'
];
} }
} }
@ -941,13 +942,14 @@ class TenantUserProvidingAttributeNames extends ResourceUser
{ {
public function getSyncedCreationAttributes(): array public function getSyncedCreationAttributes(): array
{ {
return [ return
'name', [
'password', 'name',
'email', 'password',
'role', 'email',
'foo' => 'bar' 'role',
]; 'foo' => 'bar'
];
} }
} }
@ -956,12 +958,13 @@ class TenantUserProvidingMixture extends ResourceUser
{ {
public function getSyncedCreationAttributes(): array public function getSyncedCreationAttributes(): array
{ {
return [ return
'name', [
'email', 'name' => 'Default User',
'role' => 'admin', 'email' => 'default@localhost',
'password' => 'secret', 'password' => 'password',
]; 'role' => 'admin',
];
} }
} }
@ -969,12 +972,14 @@ class CentralUserProvidingDefaultValues extends CentralUser
{ {
public function getSyncedCreationAttributes(): array public function getSyncedCreationAttributes(): array
{ {
return [ return
'name' => 'Default User', [
'email' => 'default@localhost', 'global_id',
'password' => 'password', 'name',
'role' => 'admin', 'password',
]; 'email',
'role',
];
} }
} }