Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien authored and StyleCIBot committed Jan 6, 2020
1 parent 580c929 commit c71ef6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static function write(
$extra['_ip'] = $_SERVER['HTTP_X_FORWARDED_FOR'];

if (isset($_SERVER['REMOTE_ADDR'])) {
$extra['_ip'] .= ' (' . $_SERVER['REMOTE_ADDR'] . ')';
$extra['_ip'] .= ' ('.$_SERVER['REMOTE_ADDR'].')';
}
} elseif (isset($_SERVER['REMOTE_ADDR'])) {
$extra['_ip'] = $_SERVER['REMOTE_ADDR'];
Expand All @@ -75,8 +75,8 @@ public static function write(
$extra['_device'] = 'desktop';
}

$extra['_platform'] = $agent->platform() . ' ' . $agent->version($agent->platform());
$extra['_browser'] = $agent->browser() . ' ' . $agent->version($agent->browser());
$extra['_platform'] = $agent->platform().' '.$agent->version($agent->platform());
$extra['_browser'] = $agent->browser().' '.$agent->version($agent->browser());
}

// ---------------------------------------------------------------------------------------------
Expand Down

0 comments on commit c71ef6b

Please sign in to comment.