Skip to content

Commit

Permalink
Style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
leonjza committed May 31, 2018
1 parent efd4124 commit 901e5b2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Commands/Seat/Admin/Diagnose.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,12 @@ public function check_redis()

try {

if (config('database.redis.default.path') != null && config('database.redis.default.scheme') != null) {
if (config('database.redis.default.path') && config('database.redis.default.scheme')) {
$redis = new Client([
'scheme' => config('database.redis.default.scheme'),
'path' => config('database.redis.default.path'),
]);
}
else {
} else {
$redis = new Client([
'host' => config('database.redis.default.host'),
'port' => config('database.redis.default.port'),
Expand Down

0 comments on commit 901e5b2

Please sign in to comment.