Apply fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
63919b9ccd
commit
c5b261ff3c
@@ -151,9 +151,11 @@ class NotificationController extends Controller
|
||||
|
||||
/**
|
||||
* get the page to list the notifications.
|
||||
*
|
||||
* @return response
|
||||
*/
|
||||
public static function getNotifications() {
|
||||
public static function getNotifications()
|
||||
{
|
||||
$notifications = UserNotification::with([
|
||||
'notification.type' => function ($query) {
|
||||
$query->select('id', 'message', 'type');
|
||||
@@ -163,6 +165,7 @@ class NotificationController extends Controller
|
||||
$query->select('id', 'ticket_number');
|
||||
},
|
||||
])->where('user_id', '=', \Auth::user()->id);
|
||||
|
||||
return $notifications;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user