Test Setup Failed
Push — master ( 18aad0...79eeb7 )
by Marcel
05:40
created
app/Models/TagRelation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
     protected $guarded = [];
41 41
 
42
-    public function tag(){
42
+    public function tag() {
43 43
         return $this->hasOne('App\Models\Tag', 'id', 'tag_id');
44 44
     }
45 45
 }
46 46
\ No newline at end of file
Please login to merge, or discard this patch.
app/Models/Tag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
     protected $guarded = [];
32 32
 
33
-    public function tag_relations(){
33
+    public function tag_relations() {
34 34
         return $this->hasMany('App\Models\TagRelation', 'tag_id', 'id');
35 35
     }
36 36
 
Please login to merge, or discard this patch.
app/Models/UserObyx.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,11 +34,11 @@
 block discarded – undo
34 34
 
35 35
     protected $guarded = [];
36 36
 
37
-    public function user(){
37
+    public function user() {
38 38
         return $this->belongsTo('App\Models\User', 'user_id', 'id');
39 39
     }
40 40
 
41
-    public function obyx(){
41
+    public function obyx() {
42 42
         return $this->hasOne('App\Models\Obyx', 'id', 'obyx_id');
43 43
     }
44 44
         
Please login to merge, or discard this patch.
app/Models/AwardCat.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@
 block discarded – undo
45 45
 
46 46
     protected $guarded = [];
47 47
 
48
-    public function awardpage(){
48
+    public function awardpage() {
49 49
         return $this->hasOne('App\Models\AwardPage', 'id', 'award_page_id');
50 50
     }
51 51
 
52
-    public function user(){
52
+    public function user() {
53 53
         return $this->hasOne('App\Models\User', 'id', 'user_id');
54 54
     }
55 55
 
Please login to merge, or discard this patch.
app/Models/Event.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -59,27 +59,27 @@
 block discarded – undo
59 59
 
60 60
     protected $guarded = [];
61 61
 
62
-    public function user(){
62
+    public function user() {
63 63
         return $this->hasOne('App\Models\User', 'id', 'user_id');
64 64
     }
65 65
 
66
-    public function settings(){
66
+    public function settings() {
67 67
         return $this->hasOne('App\Models\EventSetting', 'event_id', 'id');
68 68
     }
69 69
 
70
-    public function meetings(){
70
+    public function meetings() {
71 71
         return $this->hasMany('App\Models\EventMeeting', 'event_id', 'id');
72 72
     }
73 73
 
74
-    public function users_registered(){
74
+    public function users_registered() {
75 75
         return $this->hasMany('App\Models\EventUserRegistered', 'event_id', 'id');
76 76
     }
77 77
 
78
-    public function pictures(){
78
+    public function pictures() {
79 79
         return $this->hasMany('App\Models\EventPicture', 'event_id', 'id');
80 80
     }
81 81
 
82
-    public function comments(){
82
+    public function comments() {
83 83
         return $this->hasMany('App\Models\Comment', 'content_id', 'id')->Where('content_type', '=', \DB::raw("'game'"))->with('user');
84 84
     }
85 85
 }
86 86
\ No newline at end of file
Please login to merge, or discard this patch.
app/Models/UserReport.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,15 +53,15 @@
 block discarded – undo
53 53
 
54 54
     protected $guarded = [];
55 55
 
56
-    public function user(){
56
+    public function user() {
57 57
         return $this->hasOne('App\Models\User', 'id', 'user_id');
58 58
     }
59 59
 
60
-    public function user_closed(){
60
+    public function user_closed() {
61 61
         return $this->hasOne('App\Models\User', 'id', 'closed_user_id');
62 62
     }
63 63
 
64
-    public function game(){
64
+    public function game() {
65 65
         return $this->hasOne('App\Models\Game', 'id', 'content_id');
66 66
     }
67 67
 }
68 68
\ No newline at end of file
Please login to merge, or discard this patch.
app/Models/BoardThread.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,19 +51,19 @@
 block discarded – undo
51 51
 
52 52
     protected $guarded = [];
53 53
 
54
-    public function cat(){
54
+    public function cat() {
55 55
         return $this->belongsTo('App\Models\BoardCat', 'cat_id', 'id');
56 56
     }
57 57
 
58
-    public function posts(){
58
+    public function posts() {
59 59
         return $this->hasMany('App\Models\BoardPost', 'thread_id', 'id');
60 60
     }
61 61
 
62
-    public function user(){
62
+    public function user() {
63 63
         return $this->hasOne('App\Models\User', 'id', 'user_id');
64 64
     }
65 65
 
66
-    public function last_user(){
66
+    public function last_user() {
67 67
         return $this->hasOne('App\Models\User', 'id', 'last_user_id');
68 68
     }
69 69
 }
70 70
\ No newline at end of file
Please login to merge, or discard this patch.
app/Models/EventMeetingUserRegistered.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,15 +35,15 @@
 block discarded – undo
35 35
 
36 36
     protected $guarded = [];
37 37
 
38
-    public function event(){
38
+    public function event() {
39 39
         $this->hasOne('App\Models\Event', 'id', 'event_id');
40 40
     }
41 41
 
42
-    public function meeting(){
42
+    public function meeting() {
43 43
         $this->hasOne('App\Models\EventMeeting', 'id', 'meeting_id');
44 44
     }
45 45
 
46
-    public function user(){
46
+    public function user() {
47 47
         $this->hasOne('App\Models\User', 'id', 'user_id');
48 48
     }
49 49
 }
50 50
\ No newline at end of file
Please login to merge, or discard this patch.
app/Models/UserSetting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     protected $guarded = [];
46 46
 
47
-    public function user(){
47
+    public function user() {
48 48
         return $this->belongsTo('App\Models\User', 'id', 'user_id');
49 49
     }
50 50
         
Please login to merge, or discard this patch.