Skip to content

Commit 7e8708f

Browse files
authored
Merge pull request #29 from asundust/analysis-LZo2aJ
Apply fixes from StyleCI
2 parents f331dd9 + 015dc78 commit 7e8708f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/Http/Middleware/WechatAuthMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function handle($request, Closure $next, $account = 'default', $scope = n
2727
return $next($request);
2828
}
2929

30-
//保证兼容性
30+
// 保证兼容性
3131
$class = ('work' !== $type) ? 'wechat' : 'work';
3232
$prefix = ('work' !== $type) ? 'official_account' : 'work';
3333
$sessionKey = \sprintf('%s.oauth_user.%s', $class, $account);

config/querydetector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
* the "posts" attribute and the "Post::class", since the relation can get resolved in multiple ways.
2424
*/
2525
'except' => [
26-
//Author::class => [
26+
// Author::class => [
2727
// Post::class,
2828
// 'posts',
29-
//]
29+
// ]
3030
],
3131

3232
/*

0 commit comments

Comments
 (0)