Completed
Push — master ( 8c0974...426919 )
by Eric
05:34
created
app/Http/Controllers/TasksTimelineControler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
     public function index()
12 12
     {
13 13
         $task_events = TaskEvent::all();
14
-        return view('timeline',['task_events' => $task_events]);
14
+        return view('timeline', ['task_events' => $task_events]);
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@
 block discarded – undo
20 20
     public function boot()
21 21
     {
22 22
         View::composer('*', function ($view) {
23
-           if (Auth::user()){
24
-               $view->with('user',Auth::user());
25
-           } else {
26
-               // NullObject
27
-               $view->with('user', new GuestUser());
28
-           }
23
+            if (Auth::user()){
24
+                $view->with('user',Auth::user());
25
+            } else {
26
+                // NullObject
27
+                $view->with('user', new GuestUser());
28
+            }
29 29
         });
30 30
 
31 31
         Task::observe(TaskObserver::class);
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
      */
20 20
     public function boot()
21 21
     {
22
-        View::composer('*', function ($view) {
23
-           if (Auth::user()){
24
-               $view->with('user',Auth::user());
22
+        View::composer('*', function($view) {
23
+           if (Auth::user()) {
24
+               $view->with('user', Auth::user());
25 25
            } else {
26 26
                // NullObject
27 27
                $view->with('user', new GuestUser());
Please login to merge, or discard this patch.