| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 8 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 16 | public function compose(View $view) | ||
| 17 |     { | ||
| 18 | $notifications = UserRepository::notificationsData(Auth::id()); | ||
|  | |||
| 19 | |||
| 20 | $view->with([ | ||
| 21 | 'notifications' => $notifications['notifications'], | ||
| 22 | 'hasUnreadNotifications' => $notifications['hasUnreadNotifications'], | ||
| 23 | 'unreadNotificationsCount' => $notifications['unreadNotificationsCount'] | ||
| 24 | ]); | ||
| 27 |