Completed
Push — develop ( 1c7ff0...b15f7e )
by Neil
08:15
created
app/Notification.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@
 block discarded – undo
41 41
 
42 42
     public function scopeLimit($query)
43 43
     {
44
-        return $query->select('notifications.*','key');
44
+        return $query->select('notifications.*', 'key');
45 45
     }
46 46
 
47 47
     public function users() {
48
-        return $this->belongsToMany('App\User')->withPivot('notifications_id','user_id');
48
+        return $this->belongsToMany('App\User')->withPivot('notifications_id', 'user_id');
49 49
     }
50 50
 
51 51
 }
Please login to merge, or discard this patch.
app/Api/Controllers/NotificationController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
         $notification = Notification::find($id);
40 40
         $enable = strpos($action, 'un') === false;
41
-        if(!$enable) {
41
+        if (!$enable) {
42 42
             $action = substr($action, 2);
43 43
         }
44 44
 
Please login to merge, or discard this patch.