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