Passed
Branch master (07420f)
by Quim González
06:26
created
app/helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
 
7 7
 //si no esta declarada (function_exists('nom_funcio')) la declaro
8 8
 
9
-if(! function_exists('initialize_task_permissions')){
9
+if ( ! function_exists('initialize_task_permissions')) {
10 10
 
11
-    function initialize_task_permissions(){
11
+    function initialize_task_permissions() {
12 12
         //Permission::create(['name'=>'list-tasks']);
13 13
         //Crea només si no existeix
14 14
         Permission::firstOrCreate(['name'=>'list-tasks']);
Please login to merge, or discard this patch.
app/Task.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 
7 7
 class Task extends Model
8 8
 {
9
-    protected $fillable = ['name','user_id'];
9
+    protected $fillable = ['name', 'user_id'];
10 10
 }
Please login to merge, or discard this patch.