@@ -14,5 +14,5 @@ |
||
14 | 14 | */ |
15 | 15 | |
16 | 16 | Broadcast::channel('Anomaly.UsersModule.User.UserModel.{id}', function ($user, $id) { |
17 | - return (int) $user->id === (int) $id; |
|
17 | + return (int)$user->id === (int)$id; |
|
18 | 18 | }); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | |
14 | 14 | $app = new Illuminate\Foundation\Application( |
15 | - realpath(__DIR__ . '/../') |
|
15 | + realpath(__DIR__.'/../') |
|
16 | 16 | ); |
17 | 17 | |
18 | 18 | /* |
@@ -14,13 +14,13 @@ |
||
14 | 14 | * |
15 | 15 | * @return void |
16 | 16 | */ |
17 | - public function boot(ControlPanelBuilder $builder, NavigationFactory $factory) |
|
17 | + public function boot(ControlPanelBuilder $builder, NavigationFactory $factory) |
|
18 | 18 | { |
19 | 19 | view()->composer('*', function ($view) use ($builder, $factory) { |
20 | 20 | |
21 | 21 | if (auth()->check() and template()->get('cp')) { |
22 | - //Hidden menu items in sidebar on dashboard |
|
23 | - ($navigation = template()->get('cp')->getNavigation()->get('anomaly.module.variables')) ? $navigation->setClass('hidden') : false; |
|
22 | + //Hidden menu items in sidebar on dashboard |
|
23 | + ($navigation = template()->get('cp')->getNavigation()->get('anomaly.module.variables')) ? $navigation->setClass('hidden') : false; |
|
24 | 24 | ($navigation = template()->get('cp')->getNavigation()->get('anomaly.module.system')) ? $navigation->setClass('hidden') : false; |
25 | 25 | ($navigation = template()->get('cp')->getNavigation()->get('anomaly.module.redirects')) ? $navigation->setClass('hidden') : false; |
26 | 26 | ($navigation = template()->get('cp')->getNavigation()->get('anomaly.module.repeaters')) ? $navigation->setClass('hidden') : false; |
@@ -27,7 +27,7 @@ |
||
27 | 27 | } |
28 | 28 | //Auto Language Switcher |
29 | 29 | if (config('advs.lang_switcher_for_browser') and is_null(Request()->session()->get('_locale')) and isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { |
30 | - $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);//Get Browser Language |
|
30 | + $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); //Get Browser Language |
|
31 | 31 | $acceptLang = config('streams::locales.enabled'); //Supported Language |
32 | 32 | $lang = in_array($lang, $acceptLang) ? $lang : config('streams::locales.default', 'en'); |
33 | 33 | App()->setLocale($lang); |
@@ -52,7 +52,7 @@ |
||
52 | 52 | $data = $notifiable->attributesToArray(); |
53 | 53 | |
54 | 54 | return (new MailMessage()) |
55 | - ->view('anomaly.module.users::notifications.activate_your_account',$data) |
|
55 | + ->view('anomaly.module.users::notifications.activate_your_account', $data) |
|
56 | 56 | ->subject(trans('anomaly.module.users::notification.activate_your_account.subject', $data)) |
57 | 57 | ->greeting(trans('anomaly.module.users::notification.activate_your_account.greeting', $data)) |
58 | 58 | ->line(trans('anomaly.module.users::notification.activate_your_account.instructions', $data)) |
@@ -39,7 +39,7 @@ |
||
39 | 39 | config()->set('app.locale', LOCALE); |
40 | 40 | } |
41 | 41 | // Set our locale namespace. |
42 | - app()->make('translator')->addNamespace('streams', realpath(__DIR__ . '/../../vendor/visiosoft/streams-platform/resources/lang')); |
|
42 | + app()->make('translator')->addNamespace('streams', realpath(__DIR__.'/../../vendor/visiosoft/streams-platform/resources/lang')); |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | } |