@@ -113,7 +113,7 @@ private function createFirstUsers(): void
113113 {
114114 $ this ->info ('☐ Create first user of the account ' );
115115
116- $ this ->firstUser = (new CreateAccount )->execute ([
116+ $ this ->firstUser = (new CreateAccount () )->execute ([
117117 'email ' => 'admin@admin.com ' ,
118118 'password ' => 'admin123 ' ,
119119 'first_name ' => 'Michael ' ,
@@ -129,7 +129,7 @@ private function createVaults(): void
129129 $ this ->info ('☐ Create vaults ' );
130130
131131 for ($ i = 0 ; $ i < rand (3 , 5 ); $ i ++) {
132- (new CreateVault )->execute ([
132+ (new CreateVault () )->execute ([
133133 'account_id ' => $ this ->firstUser ->account_id ,
134134 'author_id ' => $ this ->firstUser ->id ,
135135 'type ' => Vault::TYPE_PERSONAL ,
@@ -148,7 +148,7 @@ private function createContacts(): void
148148 $ date = $ this ->faker ->dateTimeThisCentury ();
149149 $ birthDate = Carbon::parse ($ date );
150150
151- $ contact = (new CreateContact )->execute ([
151+ $ contact = (new CreateContact () )->execute ([
152152 'account_id ' => $ this ->firstUser ->account_id ,
153153 'author_id ' => $ this ->firstUser ->id ,
154154 'vault_id ' => $ vault ->id ,
@@ -160,7 +160,7 @@ private function createContacts(): void
160160 'listed ' => true ,
161161 ]);
162162
163- (new CreateContactImportantDate )->execute ([
163+ (new CreateContactImportantDate () )->execute ([
164164 'account_id ' => $ this ->firstUser ->account_id ,
165165 'author_id ' => $ this ->firstUser ->id ,
166166 'vault_id ' => $ vault ->id ,
@@ -181,7 +181,7 @@ private function createNotes(): void
181181
182182 foreach (Contact::all () as $ contact ) {
183183 for ($ i = 0 ; $ i < 4 ; $ i ++) {
184- (new CreateNote )->execute ([
184+ (new CreateNote () )->execute ([
185185 'account_id ' => $ this ->firstUser ->account_id ,
186186 'author_id ' => $ this ->firstUser ->id ,
187187 'vault_id ' => $ contact ->vault_id ,
@@ -199,7 +199,7 @@ private function createTasks(): void
199199
200200 foreach (Contact::all () as $ contact ) {
201201 for ($ i = 0 ; $ i < 4 ; $ i ++) {
202- (new CreateContactTask )->execute ([
202+ (new CreateContactTask () )->execute ([
203203 'account_id ' => $ this ->firstUser ->account_id ,
204204 'author_id ' => $ this ->firstUser ->id ,
205205 'vault_id ' => $ contact ->vault_id ,
@@ -224,7 +224,7 @@ private function createGoals(): void
224224
225225 foreach (Contact::all () as $ contact ) {
226226 foreach ($ goals ->take (rand (1 , 4 )) as $ goal ) {
227- $ goal = (new CreateGoal )->execute ([
227+ $ goal = (new CreateGoal () )->execute ([
228228 'account_id ' => $ this ->firstUser ->account_id ,
229229 'author_id ' => $ this ->firstUser ->id ,
230230 'vault_id ' => $ contact ->vault_id ,
@@ -238,7 +238,7 @@ private function createGoals(): void
238238 $ date = $ date ->addDays (rand (1 , 3 ));
239239
240240 try {
241- (new ToggleStreak )->execute ([
241+ (new ToggleStreak () )->execute ([
242242 'account_id ' => $ this ->firstUser ->account_id ,
243243 'author_id ' => $ this ->firstUser ->id ,
244244 'vault_id ' => $ contact ->vault_id ,
0 commit comments