@@ -20,7 +20,7 @@ |
||
| 20 | 20 | $admin = $this->getAdminNavbar(); |
| 21 | 21 | $navBar = $this->getPrimaryNavbar(); |
| 22 | 22 | $modules = $this->getModules(); |
| 23 | - array_splice($navBar, 1, 0, $admin); // Move the Admin link just under the Dashboard link |
|
| 23 | + array_splice($navBar, 1, 0, $admin); // Move the Admin link just under the Dashboard link |
|
| 24 | 24 | |
| 25 | 25 | return array_merge($navBar, $modules); |
| 26 | 26 | } |
@@ -211,7 +211,7 @@ |
||
| 211 | 211 | if(count($modNav) > 0) |
| 212 | 212 | { |
| 213 | 213 | // Split Camel Case name into normal name |
| 214 | - $nav[implode(' ',preg_split('/(?=[A-Z])/', $module->getName()))] = $modNav; |
|
| 214 | + $nav[implode(' ', preg_split('/(?=[A-Z])/', $module->getName()))] = $modNav; |
|
| 215 | 215 | } |
| 216 | 216 | } |
| 217 | 217 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | |
| 10 | 10 | class DisableModuleCommand extends Command |
| 11 | 11 | { |
| 12 | - protected $signature = 'tb_module:disable {module}'; |
|
| 12 | + protected $signature = 'tb_module:disable {module}'; |
|
| 13 | 13 | protected $description = 'Disable, but do not remove a Tech Bench Add On Module'; |
| 14 | 14 | |
| 15 | 15 | protected $module; |
@@ -25,8 +25,7 @@ |
||
| 25 | 25 | public function __invoke(ResetTokenRequest $request) |
| 26 | 26 | { |
| 27 | 27 | $status = Password::reset( |
| 28 | - $request->only('email', 'password', 'password_confirmation', 'token'), function($user, $password) |
|
| 29 | - { |
|
| 28 | + $request->only('email', 'password', 'password_confirmation', 'token'), function($user, $password) { |
|
| 30 | 29 | // Determine the new expiration date |
| 31 | 30 | $expires = config('auth.passwords.settings.expire') ? Carbon::now()->addDays(config('auth.passwords.settings.expire')) : null; |
| 32 | 31 | |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | use AllowTrait; |
| 12 | 12 | use HandlesAuthorization; |
| 13 | 13 | |
| 14 | - /** |
|
| 15 | - * Determine whether the user can create models |
|
| 16 | - */ |
|
| 14 | + /** |
|
| 15 | + * Determine whether the user can create models |
|
| 16 | + */ |
|
| 17 | 17 | public function create(User $user) |
| 18 | 18 | { |
| 19 | 19 | return $this->checkPermission($user, 'Manage Equipment'); |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | use HandlesAuthorization; |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | - * Determine whether the user can create models |
|
| 16 | - */ |
|
| 15 | + * Determine whether the user can create models |
|
| 16 | + */ |
|
| 17 | 17 | public function create(User $user) |
| 18 | 18 | { |
| 19 | 19 | return $this->checkPermission($user, 'Manage Equipment'); |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function handle(TechTipCommentFlaggedEvent $event) |
| 19 | 19 | { |
| 20 | - $userList = User::where('role_id', '<=', 2)->get(); // TODO - should be for users who can manage Tech Tips |
|
| 20 | + $userList = User::where('role_id', '<=', 2)->get(); // TODO - should be for users who can manage Tech Tips |
|
| 21 | 21 | Notification::send($userList, new FlaggedTechTipCommentNotification($event->comment, Auth::user())); |
| 22 | 22 | } |
| 23 | 23 | } |