]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/UserProfileController.php
Applied styleci style changes
[bookstack] / app / Http / Controllers / UserProfileController.php
index 95e68cb07d95e97a583be7a37def344bcadc8819..09ae4c1bd3f6ad265763f39e76cfc3a49aee822c 100644 (file)
@@ -1,11 +1,13 @@
-<?php namespace BookStack\Http\Controllers;
+<?php
+
+namespace BookStack\Http\Controllers;
 
 use BookStack\Auth\UserRepo;
 
 class UserProfileController extends Controller
 {
     /**
-     * Show the user profile page
+     * Show the user profile page.
      */
     public function show(UserRepo $repo, string $slug)
     {
@@ -16,10 +18,10 @@ class UserProfileController extends Controller
         $assetCounts = $repo->getAssetCounts($user);
 
         return view('users.profile', [
-            'user' => $user,
-            'activity' => $userActivity,
+            'user'            => $user,
+            'activity'        => $userActivity,
             'recentlyCreated' => $recentlyCreated,
-            'assetCounts' => $assetCounts
+            'assetCounts'     => $assetCounts,
         ]);
     }
 }