Passed
Push — master ( 6955bf...21f25e )
by Eric
03:13
created
app/helpers.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 use Spatie\Permission\Models\Permission;
4 4
 use Spatie\Permission\Models\Role;
5 5
 
6
-if (! function_exists('initialize_task_permission')){
6
+if ( ! function_exists('initialize_task_permission')) {
7 7
     function initialize_task_permissions() {
8 8
         Permission::firstOrCreate(['name' => 'list-tasks']);
9 9
         Permission::firstOrCreate(['name' => 'show-tasks']);
@@ -21,17 +21,17 @@  discard block
 block discarded – undo
21 21
     }
22 22
 }
23 23
 
24
-if (! function_exists('create_user')){
24
+if ( ! function_exists('create_user')) {
25 25
     function create_user() {
26 26
         factory(User::class)->create([
27
-            'name' => env('TASKS_USER_NAME','Eric Garcia Reverter'),
28
-            'email' => env('TASKS_USER_EMAIL','[email protected]'),
27
+            'name' => env('TASKS_USER_NAME', 'Eric Garcia Reverter'),
28
+            'email' => env('TASKS_USER_EMAIL', '[email protected]'),
29 29
             'password' => bcrypt(env('TASKS_USER_PASSWORD'))
30 30
         ]);
31 31
     }
32 32
 }
33 33
 
34
-if (! function_exists('first_user_as_task_manager')){
34
+if ( ! function_exists('first_user_as_task_manager')) {
35 35
     function first_user_as_task_manager() {
36 36
         User::all()->first()->assignRole('task-manager');
37 37
     }
Please login to merge, or discard this patch.