Completed
Pull Request — develop (#38)
by Neil
07:16
created
app/Http/Controllers/NotificationController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Illuminate\Contracts\Auth\Guard;
6 6
 use Dingo\Api\Http;
7 7
 use Dingo\Api\Routing\Helpers;
8
-use Illuminate\Http\Request;
9 8
 
10 9
 class SetViewVariable
11 10
 {
Please login to merge, or discard this patch.
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.