Unverified Commit 23158066 authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #90 from viralsolani/analysis-z9egWa

Apply fixes from StyleCI
parents aeb184eb 3155989c
...@@ -15,14 +15,13 @@ trait CreatesUsers ...@@ -15,14 +15,13 @@ trait CreatesUsers
return $user; return $user;
} }
protected function createUser(array $attributes = []): User protected function createUser(array $attributes = []): User
{ {
return factory(User::class)->create(array_merge([ return factory(User::class)->create(array_merge([
'name' => 'John Doe', 'name' => 'John Doe',
'username' => 'johndoe', 'username' => 'johndoe',
'email' => 'john@example.com', 'email' => 'john@example.com',
'password' => bcrypt('password'), 'password' => bcrypt('password'),
'github_username' => 'johndoe', 'github_username' => 'johndoe',
], $attributes)); ], $attributes));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment