@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | $handler = $this->getHandler(null, $plugins); |
123 | 123 | $config = $this->setConfig($handler); |
124 | 124 | $config->shouldReceive('getVal')->with('plugin.list', [])->once()->andReturn([ |
125 | - $pluginId => [] |
|
125 | + $pluginId => [] |
|
126 | 126 | ]); |
127 | 127 | $config->shouldReceive('setVal')->withAnyArgs()->once()->andReturnNull(); |
128 | 128 | |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | $handler = $this->getHandler(null, $plugins); |
175 | 175 | $config = $this->setConfig($handler); |
176 | 176 | $config->shouldReceive('getVal')->with('plugin.list', [])->once()->andReturn([ |
177 | - $pluginId => [] |
|
177 | + $pluginId => [] |
|
178 | 178 | ]); |
179 | 179 | $config->shouldReceive('setVal')->withAnyArgs()->once()->andReturnNull(); |
180 | 180 |
@@ -64,7 +64,7 @@ |
||
64 | 64 | ); |
65 | 65 | |
66 | 66 | $args::get('/manage', function () { |
67 | - return 'hihihi'; |
|
67 | + return 'hihihi'; |
|
68 | 68 | }); |
69 | 69 | } |
70 | 70 |
@@ -7,27 +7,27 @@ |
||
7 | 7 | |
8 | 8 | class Inspire extends Command |
9 | 9 | { |
10 | - /** |
|
11 | - * The name and signature of the console command. |
|
12 | - * |
|
13 | - * @var string |
|
14 | - */ |
|
15 | - protected $signature = 'inspire'; |
|
10 | + /** |
|
11 | + * The name and signature of the console command. |
|
12 | + * |
|
13 | + * @var string |
|
14 | + */ |
|
15 | + protected $signature = 'inspire'; |
|
16 | 16 | |
17 | - /** |
|
18 | - * The console command description. |
|
19 | - * |
|
20 | - * @var string |
|
21 | - */ |
|
22 | - protected $description = 'Display an inspiring quote'; |
|
17 | + /** |
|
18 | + * The console command description. |
|
19 | + * |
|
20 | + * @var string |
|
21 | + */ |
|
22 | + protected $description = 'Display an inspiring quote'; |
|
23 | 23 | |
24 | - /** |
|
25 | - * Execute the console command. |
|
26 | - * |
|
27 | - * @return mixed |
|
28 | - */ |
|
29 | - public function handle() |
|
30 | - { |
|
31 | - $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL); |
|
32 | - } |
|
24 | + /** |
|
25 | + * Execute the console command. |
|
26 | + * |
|
27 | + * @return mixed |
|
28 | + */ |
|
29 | + public function handle() |
|
30 | + { |
|
31 | + $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL); |
|
32 | + } |
|
33 | 33 | } |
@@ -283,7 +283,6 @@ |
||
283 | 283 | |
284 | 284 | /** |
285 | 285 | * validateDBInfo |
286 | - |
|
287 | 286 | * @param $dbInfo |
288 | 287 | * |
289 | 288 | * @return bool |
@@ -2,5 +2,5 @@ |
||
2 | 2 | |
3 | 3 | abstract class Event |
4 | 4 | { |
5 | - // |
|
5 | + // |
|
6 | 6 | } |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | |
13 | 13 | class PasswordController extends Controller { |
14 | 14 | |
15 | - /* |
|
15 | + /* |
|
16 | 16 | |-------------------------------------------------------------------------- |
17 | 17 | | Password Reset Controller |
18 | 18 | |-------------------------------------------------------------------------- |
@@ -182,8 +182,8 @@ discard block |
||
182 | 182 | $passwordConfig = app('config')->get('xe.member.password'); |
183 | 183 | $passwordLevel = array_get($passwordConfig['levels'], $passwordConfig['default']); |
184 | 184 | return redirect()->back() |
185 | - ->withInput($request->only('email')) |
|
186 | - ->with('alert', ['type' => 'danger', 'message' => $passwordLevel['description']]); |
|
185 | + ->withInput($request->only('email')) |
|
186 | + ->with('alert', ['type' => 'danger', 'message' => $passwordLevel['description']]); |
|
187 | 187 | } |
188 | 188 | } |
189 | 189 |
@@ -9,5 +9,5 @@ |
||
9 | 9 | |
10 | 10 | abstract class Controller extends BaseController |
11 | 11 | { |
12 | - use AuthorizesRequests, DispatchesJobs, ValidatesRequests; |
|
12 | + use AuthorizesRequests, DispatchesJobs, ValidatesRequests; |
|
13 | 13 | } |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | class WelcomeController extends Controller { |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |-------------------------------------------------------------------------- |
7 | 7 | | Welcome Controller |
8 | 8 | |-------------------------------------------------------------------------- |
@@ -13,24 +13,24 @@ discard block |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | - /** |
|
17 | - * Create a new controller instance. |
|
18 | - * |
|
19 | - * @return void |
|
20 | - */ |
|
21 | - public function __construct() |
|
22 | - { |
|
23 | - $this->middleware('guest'); |
|
24 | - } |
|
16 | + /** |
|
17 | + * Create a new controller instance. |
|
18 | + * |
|
19 | + * @return void |
|
20 | + */ |
|
21 | + public function __construct() |
|
22 | + { |
|
23 | + $this->middleware('guest'); |
|
24 | + } |
|
25 | 25 | |
26 | - /** |
|
27 | - * Show the application welcome screen to the user. |
|
28 | - * |
|
29 | - * @return Response |
|
30 | - */ |
|
31 | - public function index() |
|
32 | - { |
|
33 | - return view('welcome'); |
|
34 | - } |
|
26 | + /** |
|
27 | + * Show the application welcome screen to the user. |
|
28 | + * |
|
29 | + * @return Response |
|
30 | + */ |
|
31 | + public function index() |
|
32 | + { |
|
33 | + return view('welcome'); |
|
34 | + } |
|
35 | 35 | |
36 | 36 | } |
@@ -7,41 +7,41 @@ |
||
7 | 7 | |
8 | 8 | class Authenticate |
9 | 9 | { |
10 | - /** |
|
11 | - * The Guard implementation. |
|
12 | - * |
|
13 | - * @var Guard |
|
14 | - */ |
|
15 | - protected $auth; |
|
10 | + /** |
|
11 | + * The Guard implementation. |
|
12 | + * |
|
13 | + * @var Guard |
|
14 | + */ |
|
15 | + protected $auth; |
|
16 | 16 | |
17 | - /** |
|
18 | - * Create a new filter instance. |
|
19 | - * |
|
20 | - * @param Guard $auth |
|
21 | - * @return void |
|
22 | - */ |
|
23 | - public function __construct(Guard $auth) |
|
24 | - { |
|
25 | - $this->auth = $auth; |
|
26 | - } |
|
17 | + /** |
|
18 | + * Create a new filter instance. |
|
19 | + * |
|
20 | + * @param Guard $auth |
|
21 | + * @return void |
|
22 | + */ |
|
23 | + public function __construct(Guard $auth) |
|
24 | + { |
|
25 | + $this->auth = $auth; |
|
26 | + } |
|
27 | 27 | |
28 | - /** |
|
29 | - * Handle an incoming request. |
|
30 | - * |
|
31 | - * @param \Illuminate\Http\Request $request |
|
32 | - * @param \Closure $next |
|
33 | - * @return mixed |
|
34 | - */ |
|
35 | - public function handle($request, Closure $next) |
|
36 | - { |
|
37 | - if ($this->auth->guest()) { |
|
38 | - if ($request->ajax()) { |
|
39 | - return response('Unauthorized.', 401); |
|
40 | - } else { |
|
41 | - return redirect()->guest('auth/login'); |
|
42 | - } |
|
43 | - } |
|
28 | + /** |
|
29 | + * Handle an incoming request. |
|
30 | + * |
|
31 | + * @param \Illuminate\Http\Request $request |
|
32 | + * @param \Closure $next |
|
33 | + * @return mixed |
|
34 | + */ |
|
35 | + public function handle($request, Closure $next) |
|
36 | + { |
|
37 | + if ($this->auth->guest()) { |
|
38 | + if ($request->ajax()) { |
|
39 | + return response('Unauthorized.', 401); |
|
40 | + } else { |
|
41 | + return redirect()->guest('auth/login'); |
|
42 | + } |
|
43 | + } |
|
44 | 44 | |
45 | - return $next($request); |
|
46 | - } |
|
45 | + return $next($request); |
|
46 | + } |
|
47 | 47 | } |